summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-17 17:46:22 +0200
committerwm4 <wm4@nowhere>2014-05-17 17:49:47 +0200
commit347eaaa93cdb7e689edfd3e0ba6f0b38263a7eaf (patch)
tree152fc67eb312f20aec45dd76904f01cfd9437b11 /video
parent83044781495cc42cd5d0d933a847ac34468a6416 (diff)
downloadmpv-347eaaa93cdb7e689edfd3e0ba6f0b38263a7eaf.tar.bz2
mpv-347eaaa93cdb7e689edfd3e0ba6f0b38263a7eaf.tar.xz
x11: fix Drag & Drop
Accidentally broken in commit 95462747.
Diffstat (limited to 'video')
-rw-r--r--video/out/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index ee27124d65..6a6bc1b928 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -642,7 +642,7 @@ static void dnd_select_format(struct vo_x11_state *x11, Atom *args, int items)
{
for (int n = 0; n < items; n++) {
// There are other types; possibly not worth supporting.
- if (args[n] == XA(x11, _uri_list))
+ if (args[n] == XInternAtom(x11->display, "text/uri-list", False))
x11->dnd_requested_format = args[n];
}
}