[gtk+/client-side-windows: 252/284] Call backend show() in gdk_window_show even if window is mapped



commit 16b4c3ade83deed83f7ff513ae088b705aedd1bb
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Feb 5 14:53:59 2009 +0100

    Call backend show() in gdk_window_show even if window is mapped
    
    This is required for the GtkSocket code, as it shows the plug child
    even though the current cached state is (wrongly) that its already
    mapped.
    
    This makes blink work for non-local case in testsocket.
---
 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index e67f955..a6e2696 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -5497,7 +5497,7 @@ gdk_window_show_internal (GdkWindow *window, gboolean raise)
       private->state = 0;
     }
 
-  if (!was_mapped && gdk_window_is_viewable (window))
+  if (gdk_window_is_viewable (window))
     show_all_visible_impls (private);
   
   if (!was_mapped)



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