quartz: disable system shadows if a GdkWindow shadow is set.

The shadow will be drawn in the wrong place in those cases so all we can
do is disable it. This fixes double shadows drawn around menus, popups
and tooltips.

https://bugzilla.gnome.org/show_bug.cgi?id=734984
This commit is contained in:
Christoph Reiter
2015-07-19 20:13:22 +02:00
committed by Christoph Reiter
parent e0339c5244
commit 2c329f5b3a
2 changed files with 20 additions and 2 deletions

View File

@ -62,6 +62,8 @@ struct _GdkWindowImplQuartz
cairo_surface_t *cairo_surface;
gint shadow_top;
gint shadow_max;
};
struct _GdkWindowImplQuartzClass