[gtk/popup-shadow-width: 6/8] x11: Apply popup shadow with




commit ad9c813ed1091e4d0263f2f477708108b4ff6591
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 13 21:10:10 2021 -0500

    x11: Apply popup shadow with

 gdk/x11/gdksurface-x11.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]