summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkwindow-quartz.h
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2015-07-19 20:13:22 +0200
committerChristoph Reiter <creiter@src.gnome.org>2015-07-27 17:26:46 +0200
commit2c329f5b3a9188411e148351fb93d60cfb2f227e (patch)
treece8d35f59978388f24b167e7dca49f06c958c665 /gdk/quartz/gdkwindow-quartz.h
parente0339c5244a7b92569b761076dc0e6577687069d (diff)
downloadgtk+-2c329f5b3a9188411e148351fb93d60cfb2f227e.tar.gz
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
Diffstat (limited to 'gdk/quartz/gdkwindow-quartz.h')
-rw-r--r--gdk/quartz/gdkwindow-quartz.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/quartz/gdkwindow-quartz.h b/gdk/quartz/gdkwindow-quartz.h
index ccd7633699..4c8347c9e5 100644
--- a/gdk/quartz/gdkwindow-quartz.h
+++ b/gdk/quartz/gdkwindow-quartz.h
@@ -62,6 +62,8 @@ struct _GdkWindowImplQuartz
cairo_surface_t *cairo_surface;
gint shadow_top;
+
+ gint shadow_max;
};
struct _GdkWindowImplQuartzClass