mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08:00
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user