[gtk+/wayland-selections] wayland: Don't set an xdg surface to DnD windows



commit 26b0d72daaceeaff4d81503cc8c538a76781c10b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Aug 22 16:33:47 2014 +0200

    wayland: Don't set an xdg surface to DnD windows

 gdk/wayland/gdkwindow-wayland.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 23f6fd1..43ed0ec 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1085,7 +1085,8 @@ gdk_wayland_window_map (GdkWindow *window)
             }
         }
 
-      gdk_wayland_window_create_xdg_surface (window);
+      if (impl->hint != GDK_WINDOW_TYPE_HINT_DND)
+        gdk_wayland_window_create_xdg_surface (window);
 
     mapped:
       impl->mapped = TRUE;


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