reinstate GDK/Quartz patch that avoids white backgrounds on first expose on OS X

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@14159 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-03-06 15:08:57 +00:00
parent dd60c63e65
commit f8e68708ad

View file

@ -0,0 +1,14 @@
--- a/gdk/quartz/gdkgc-quartz.c
+++ b/gdk/quartz/gdkgc-quartz.c
@@ -289,7 +289,10 @@ _gdk_windowing_gc_set_clip_region (GdkGC *gc,
private->have_clip_mask = FALSE;
}
- private->have_clip_region = region != NULL;
+ if (region == NULL || gdk_region_empty (region))
+ private->have_clip_region = FALSE;
+ else
+ private->have_clip_region = TRUE;
if (reset_origin)
{