[gtk+] wayland: Map the window immediately on show



commit ee3d00c391b7ce0fa4f3258bafe6892174b83537
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 22 19:16:48 2014 -0400

    wayland: Map the window immediately on show

 gdk/wayland/gdkwindow-wayland.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index ed362e9..b172ad6 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1089,6 +1089,8 @@ gdk_wayland_window_show (GdkWindow *window,
   if (!impl->surface)
     gdk_wayland_window_create_surface (window);
 
+  gdk_wayland_window_map (window);
+
   _gdk_make_event (window, GDK_MAP, NULL, FALSE);
 
   if (impl->cairo_surface)
@@ -1854,8 +1856,6 @@ gdk_wayland_window_process_updates_recurse (GdkWindow      *window,
   cairo_rectangle_int_t rect;
   int i, n;
 
-  gdk_wayland_window_map (window);
-
   gdk_wayland_window_ensure_cairo_surface (window);
   gdk_wayland_window_attach_image (window);
 


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