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

https://bugzilla.gnome.org/show_bug.cgi?id=697855
This commit is contained in:
Carlos Garnacho 2014-08-22 16:33:47 +02:00
parent 7b85a3417a
commit 867302e2c7

View File

@ -1122,7 +1122,8 @@ gdk_wayland_window_map (GdkWindow *window)
}
}
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_SUBSURFACE)
if (impl->hint != GDK_WINDOW_TYPE_HINT_DND &&
GDK_WINDOW_TYPE (window) != GDK_WINDOW_SUBSURFACE)
gdk_wayland_window_create_xdg_surface (window);
mapped: