diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-04 16:59:22 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-04 17:28:55 +0100 |
commit | 082c5c19a1efe3c450f1ad1b0411d335be88e60e (patch) | |
tree | 37f3eb64aee2285295c0c87bfae0e80a79f7d0e8 /video/out/wayland_common.c | |
parent | bb3ea1580ebb9715ad5cc8829fcbe556c87db66e (diff) | |
download | mpv-082c5c19a1efe3c450f1ad1b0411d335be88e60e.tar.bz2 mpv-082c5c19a1efe3c450f1ad1b0411d335be88e60e.tar.xz |
input: move files drag and drop to a new event.c file
event.c will be used to feed the input queue with 'global' events that don't
mesh well with the usual check_events path in mpv.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index a5b73c1c6f..7f48563204 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -44,6 +44,7 @@ #include "osdep/timer.h" #include "input/input.h" +#include "input/event.h" #include "input/keycodes.h" #define MOD_SHIFT_MASK 0x01 @@ -751,7 +752,7 @@ static bool dnd_handle_drop_data(struct vo *vo, bstr data) MP_TARRAY_APPEND(tmp, files, num_files, s); } - vo_drop_files(vo, num_files, files); + mp_event_drop_files(vo->input_ctx, num_files, files); talloc_free(tmp); return num_files > 0; |