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

(cherry picked from commit c1df48befd)
This commit is contained in:
Carlos Garnacho 2020-01-13 13:10:53 +01:00 committed by Robert Mader
parent 59e9b073a5
commit d38c30c128

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,