mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 16:33:14 +01:00
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:
parent
dd60c63e65
commit
f8e68708ad
1 changed files with 14 additions and 0 deletions
14
tools/current-gtk-patches/gdk-noclipwithemptyregion3.patch
Normal file
14
tools/current-gtk-patches/gdk-noclipwithemptyregion3.patch
Normal 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)
|
||||
{
|
||||
Loading…
Add table
Add a link
Reference in a new issue