[gtk+/client-side-windows] Clip cairo drawing against client-side child windows
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows] Clip cairo drawing against client-side child windows
- Date: Fri, 26 Jun 2009 12:25:47 +0000 (UTC)
commit 4e902cd22303449970bb08a0c7317a745a1f91b3
Author: Alexander Larsson <alexl redhat com>
Date: Fri Jun 26 14:20:05 2009 +0200
Clip cairo drawing against client-side child windows
This is how cairo works with native children.
This fixes an issue where the drag target outline is visible on the
evolution folder treeview when it isn't with native windows.
gdk/gdkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index c60ca61..077a876 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -4417,7 +4417,7 @@ gdk_window_set_cairo_clip (GdkDrawable *drawable,
cairo_reset_clip (cr);
cairo_new_path (cr);
- gdk_cairo_region (cr, private->clip_region);
+ gdk_cairo_region (cr, private->clip_region_with_children);
cairo_restore (cr);
cairo_clip (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]