diff options
Diffstat (limited to 'gdk/macos/gdkmacospopupsurface.c')
-rw-r--r-- | gdk/macos/gdkmacospopupsurface.c | 6 |
1 files changed, 6 insertions, 0 deletions
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, |