[gtk/wip/chergert/quartz4u: 89/116] macos: disable decorated for popupwindow



commit 8a3043b5da8b88a0b9187410ba7ef061fb1029f3
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 4 16:47:00 2020 -0700

    macos: disable decorated for popupwindow

 gdk/macos/gdkmacospopupsurface.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gdk/macos/gdkmacospopupsurface.c b/gdk/macos/gdkmacospopupsurface.c
index d29293fb7b..4f9d16140f 100644
--- a/gdk/macos/gdkmacospopupsurface.c
+++ b/gdk/macos/gdkmacospopupsurface.c
@@ -299,6 +299,7 @@ _gdk_macos_popup_surface_new (GdkMacosDisplay *display,
 
   [window setOpaque:NO];
   [window setBackgroundColor:[NSColor clearColor]];
+  [window setDecorated:NO];
 
 #if 0
   /* NOTE: We could set these to be popup level, but then


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