summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-08-29 02:13:22 -0700
committerKevin Mitchell <kevmitch@gmail.com>2015-08-30 05:28:30 -0700
commit638322f77e9d8277218f88e2af7521a65595d98f (patch)
treec721a55102e45ede210373adceacae453ffa8065 /video/out/x11_common.h
parentc80b7eed53dfd9f6a0aadc9c11981cba2a59655d (diff)
downloadmpv-638322f77e9d8277218f88e2af7521a65595d98f.tar.bz2
mpv-638322f77e9d8277218f88e2af7521a65595d98f.tar.xz
x11: drag and drop append with modifier
If the drag and drop action is anything other than XdndActionCopy, append the dropped files rather than replacing the existing playlist. With most file managers, this will mean at least pressing shift while dropping.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index 5c99013ced..50892cf26a 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -112,6 +112,7 @@ struct vo_x11_state {
/* drag and drop */
Atom dnd_requested_format;
+ Atom dnd_requested_action;
Window dnd_src_window;
/* dragging the window */