diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-08-11 11:30:55 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-08-11 11:35:35 +0200 |
commit | f30cfd729a99f4d2a8b69f94a96b9385835ad59e (patch) | |
tree | 4aeca32c7f4addda53ad7e3c4d7cdcd94ccd35a8 /gdk/gdkinternals.h | |
parent | 70efa7331100df0743bd8a1b85231dc3ec67c24d (diff) | |
download | gtk+-f30cfd729a99f4d2a8b69f94a96b9385835ad59e.tar.gz |
Show/Hide native window when updating viewable
This moves the native show/hide calls to the generic code
for calculating viewable rather than in its own separate code
called from gdk_window_show/hide. This simplifies the code a bit,
but most significantly it means things are correctly shown when
they become viewable for other reasons than a show/hide call.
For instance, this fixes bug 590442 (gvim embedding) where the
toplevel GtkPlug is mapped by the embedder and we didn't previously
pick up that the native children became viewable and should be shown.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r-- | gdk/gdkinternals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index ec29042b75..75eb068856 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -386,7 +386,7 @@ void _gdk_window_destroy (GdkWindow *window, gboolean foreign_destroy); void _gdk_window_clear_update_area (GdkWindow *window); void _gdk_window_update_size (GdkWindow *window); -void _gdk_window_update_viewable (GdkWindow *window); +gboolean _gdk_window_update_viewable (GdkWindow *window); void _gdk_window_process_updates_recurse (GdkWindow *window, GdkRegion *expose_region); |