x11: Apply popup shadow with
authorMatthias Clasen <mclasen@redhat.com>
Sun, 14 Feb 2021 02:10:10 +0000 (21:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 14 Feb 2021 15:12:10 +0000 (10:12 -0500)
gdk/x11/gdksurface-x11.c

index 1ab71a7cce8d75d1b910524ff4031e3e5abc156d..92a0a23d6c6f7696e070ebc989ba9f8bbb70b3e1 100644 (file)
@@ -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,