From 347eaaa93cdb7e689edfd3e0ba6f0b38263a7eaf Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 17 May 2014 17:46:22 +0200 Subject: x11: fix Drag & Drop Accidentally broken in commit 95462747. --- video/out/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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]; } } -- cgit v1.2.3