[gtk/popup-shadow-width: 8/8] macos: Apply popup shadow width
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/popup-shadow-width: 8/8] macos: Apply popup shadow width
- Date: Sun, 14 Feb 2021 15:12:27 +0000 (UTC)
commit 54acff56f3eef055bbdd6e9f872904b39c7ed624
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 13 21:12:40 2021 -0500
macos: Apply popup shadow width
gdk/macos/gdkmacospopupsurface.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gdk/macos/gdkmacospopupsurface.c b/gdk/macos/gdkmacospopupsurface.c
index 23c44a70a8..60239d72ed 100644
--- a/gdk/macos/gdkmacospopupsurface.c
+++ b/gdk/macos/gdkmacospopupsurface.c
@@ -66,6 +66,12 @@ gdk_macos_popup_surface_layout (GdkMacosPopupSurface *self,
monitor = _gdk_macos_surface_get_best_monitor (GDK_MACOS_SURFACE (self));
gdk_macos_monitor_get_workarea (monitor, &bounds);
+ gdk_popup_layout_get_shadow_width (layout,
+ &self->parent_instance.shadow_left,
+ &self->parent_instance.shadow_right,
+ &self->parent_instance.shadow_top,
+ &self->parent_instance.shadow_bottom);
+
gdk_surface_layout_popup_helper (GDK_SURFACE (self),
width,
height,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]