projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c48e7
)
macos: Apply popup shadow width
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 14 Feb 2021 02:12:40 +0000
(21:12 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 14 Feb 2021 15:52:33 +0000
(10:52 -0500)
gdk/macos/gdkmacospopupsurface.c
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacospopupsurface.c
b/gdk/macos/gdkmacospopupsurface.c
index 23c44a70a89eaa73d764a2fe2d59faa73679f97f..60239d72ed83fbbeab00a8faf204866ab86a6f51 100644
(file)
--- 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,