diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-07-20 22:19:35 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-07-20 22:19:35 +0200 |
commit | bf78db5690062a9427f616a569830ddc3d0fb043 (patch) | |
tree | 15b30270c040c68fde63f06bf76736fd22b09e77 /gdk | |
parent | 6e4aff86083983be6307aee822360f87fa53ea23 (diff) | |
download | gdk-pixbuf-bf78db5690062a9427f616a569830ddc3d0fb043.tar.gz |
Calculate clip region when window goes viewable
Since we're no longer calculating clip regions for non-viewable windows
we need to calculate it when it goes viewable.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkwindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 764e3da54..a3718bb2f 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -5786,6 +5786,9 @@ set_viewable (GdkWindowObject *w, w->viewable = val; + if (val) + recompute_visible_regions (w, FALSE, FALSE); + for (l = w->children; l != NULL; l = l->next) { child = l->data; |