diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-08-29 00:42:04 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-08-30 05:28:24 -0700 |
commit | c80b7eed53dfd9f6a0aadc9c11981cba2a59655d (patch) | |
tree | 44972f05104d989af223ff5d782b0d32faf865ee /osdep/macosx_events.m | |
parent | f14f6fdb314ce42537d0948d8a24fbe77c06d17c (diff) | |
download | mpv-c80b7eed53dfd9f6a0aadc9c11981cba2a59655d.tar.bz2 mpv-c80b7eed53dfd9f6a0aadc9c11981cba2a59655d.tar.xz |
input: add append argument to file drop event
This puts in place the machinery to merely append dropped file to the playlist
instead of replacing the existing playlist. In this commit, all front-ends
set this to false preserving the existing behaviour.
Diffstat (limited to 'osdep/macosx_events.m')
-rw-r--r-- | osdep/macosx_events.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m index 435e84c787..ae909d8e43 100644 --- a/osdep/macosx_events.m +++ b/osdep/macosx_events.m @@ -472,7 +472,7 @@ void cocoa_set_input_context(struct input_ctx *input_context) }]; [_input_lock lock]; if (_inputContext) - mp_event_drop_files(_inputContext, num_files, files_utf8); + mp_event_drop_files(_inputContext, num_files, files_utf8, DND_REPLACE); [_input_lock unlock]; talloc_free(files_utf8); } |