[mutter/wip/carlosg/locate-pointer-in-other-keybindings: 1/3] wayland: Preserve XdndTypeList for future callers



commit d6e616dbdbc48365af69fdb0abf744d767547203
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jan 13 13:10:53 2020 +0100

    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

 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]