1
0
Fork 0

wayland: Preserve XdndTypeList for future callers

This Xdnd property is owned by the drag source, we shouldn't delete
it when reading/proxying it to Wayland clients.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/2347
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1005
This commit is contained in:
Carlos Garnacho 2020-01-13 13:10:53 +01:00 committed by Robert Mader
parent 102c07d5e5
commit c1df48befd

View file

@ -562,7 +562,7 @@ meta_xwayland_data_source_fetch_mimetype_list (MetaWaylandDataSource *source,
XGetWindowProperty (xdisplay, window, prop,
0, /* offset */
0x1fffffff, /* length */
True, /* delete */
False, /* delete */
AnyPropertyType,
&type_ret,
&format_ret,