From 16b4c3ade83deed83f7ff513ae088b705aedd1bb Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 5 Feb 2009 14:53:59 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index e67f9557b9..a6e26967be 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)