[mutter/wip/carlosg/selection-bugfixes: 1/2] wayland: Preserve XdndTypeList for future callers
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/selection-bugfixes: 1/2] wayland: Preserve XdndTypeList for future callers
- Date: Mon, 13 Jan 2020 14:03:22 +0000 (UTC)
commit 8f694a79cef9a819f8233cd8872bfb6043a35104
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]