summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];
}
}