[gtk+] wayland: Remove VISIBILITY_NOTIFY event



commit 938725fff0067dc97232403d5cb73477bb5a2e5d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 22 19:14:55 2014 -0400

    wayland: Remove VISIBILITY_NOTIFY event
    
    VISIBILITY_NOTIFY is already known to be unreliable.

 gdk/wayland/gdkwindow-wayland.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 6314b45..582e580 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1077,7 +1077,6 @@ gdk_wayland_window_show (GdkWindow *window,
   GdkDisplay *display;
   GdkWaylandDisplay *display_wayland;
   GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
-  GdkEvent *event;
 
   display = gdk_window_get_display (window);
   display_wayland = GDK_WAYLAND_DISPLAY (display);
@@ -1093,8 +1092,6 @@ gdk_wayland_window_show (GdkWindow *window,
   gdk_window_set_type_hint (window, impl->hint);
 
   _gdk_make_event (window, GDK_MAP, NULL, FALSE);
-  event = _gdk_make_event (window, GDK_VISIBILITY_NOTIFY, NULL, FALSE);
-  event->visibility.state = GDK_VISIBILITY_UNOBSCURED;
 
   if (impl->cairo_surface)
     gdk_wayland_window_attach_image (window);


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