x11: fix Drag & Drop

Accidentally broken in commit 95462747.
This commit is contained in:
wm4 2014-05-17 17:46:22 +02:00
parent 8304478149
commit 347eaaa93c
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}
}