[gtk+/client-side-windows: 39/284] Don't include composited childen in window clip region, update region when setting composited
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 39/284] Don't include composited childen in window clip region, update region when setting composited
- Date: Thu, 2 Apr 2009 14:02:59 -0400 (EDT)
commit 62a52f8fd3f94246ec227ed4b471af5bd4b09b99
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 8 19:22:20 2008 +0100
Don't include composited childen in window clip region, update region when setting composited
---
gdk/gdkwindow.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 6a82544..391079d 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -429,7 +429,7 @@ remove_child_area (GdkWindowObject *private,
if (child == until)
break;
- if (!GDK_WINDOW_IS_MAPPED (child) || child->input_only)
+ if (!GDK_WINDOW_IS_MAPPED (child) || child->input_only || child->composited)
continue;
/* Ignore offscreen children, as they don't draw in their parent and
@@ -6214,6 +6214,8 @@ gdk_window_set_composited (GdkWindow *window,
_gdk_windowing_window_set_composited (window, composited);
+ recompute_visible_regions (private, TRUE, FALSE);
+
private->composited = composited;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]