diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-13 21:10:10 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-14 10:12:10 -0500 |
commit | ad9c813ed1091e4d0263f2f477708108b4ff6591 (patch) | |
tree | 56f5e76e379da4f0765450f67714f9b37c9f4188 | |
parent | aa1d08687d5e395649b59640567efb40f6203053 (diff) | |
download | gtk+-ad9c813ed1091e4d0263f2f477708108b4ff6591.tar.gz |
x11: Apply popup shadow with
-rw-r--r-- | gdk/x11/gdksurface-x11.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c index 1ab71a7cce..92a0a23d6c 100644 --- a/gdk/x11/gdksurface-x11.c +++ b/gdk/x11/gdksurface-x11.c @@ -1814,6 +1814,12 @@ gdk_x11_surface_layout_popup (GdkSurface *surface, gdk_x11_monitor_get_workarea); gdk_x11_monitor_get_workarea (monitor, &bounds); + gdk_popup_layout_get_shadow_width (layout, + &impl->shadow_left, + &impl->shadow_right, + &impl->shadow_top, + &impl->shadow_bottom); + gdk_surface_layout_popup_helper (surface, width, height, |