]> Pileus Git - ~andy/gtk/commit
Show/Hide native window when updating viewable
authorAlexander Larsson <alexl@redhat.com>
Tue, 11 Aug 2009 09:30:55 +0000 (11:30 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 11 Aug 2009 09:35:35 +0000 (11:35 +0200)
commitf30cfd729a99f4d2a8b69f94a96b9385835ad59e
tree4aeca32c7f4addda53ad7e3c4d7cdcd94ccd35a8
parent70efa7331100df0743bd8a1b85231dc3ec67c24d
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.
gdk/gdkinternals.h
gdk/gdkwindow.c