[gtk+/client-side-windows: 119/284] Update gtk_window_quartz_hide



commit 2517076f7694be859f031c056774aa220196ef69
Author: Richard Hult <richard imendio com>
Date:   Mon Jan 5 18:09:28 2009 +0100

    Update gtk_window_quartz_hide
---
 gdk/quartz/gdkwindow-quartz.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 309edf3..76cf7ed 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -1171,19 +1171,11 @@ gdk_window_quartz_hide (GdkWindow *window)
   if (get_fullscreen_geometry (window))
     SetSystemUIMode (kUIModeNormal, 0);
 
-  if (GDK_WINDOW_DESTROYED (window))
-    return;
-
   mouse_window = _gdk_quartz_events_get_mouse_window (FALSE);
   if (window == mouse_window || 
       _gdk_quartz_window_is_ancestor (window, mouse_window))
     _gdk_quartz_events_update_mouse_window (_gdk_root);
 
-  if (GDK_WINDOW_IS_MAPPED (window))
-    gdk_synthesize_window_state (window,
-				 0,
-				 GDK_WINDOW_STATE_WITHDRAWN);
-
   _gdk_window_clear_update_area (window);
 
   impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);



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