From c1df48befd254684f0c2969b0656af03d0de024a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 13 Jan 2020 13:10:53 +0100 Subject: [PATCH] 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 --- src/wayland/meta-xwayland-dnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/meta-xwayland-dnd.c b/src/wayland/meta-xwayland-dnd.c index c01402317..fc88a6375 100644 --- a/src/wayland/meta-xwayland-dnd.c +++ b/src/wayland/meta-xwayland-dnd.c @@ -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,