[gtk/popup-shadow-width: 77/78] win32: Apply popup shadow width




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

    win32: Apply popup shadow width

 gdk/win32/gdksurface-win32.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index c690fed206..137a60bcd9 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -1217,6 +1217,12 @@ gdk_win32_surface_layout_popup (GdkSurface     *surface,
                                             gdk_win32_monitor_get_workarea);
   gdk_win32_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]