[gtk/wip/chergert/quartz4u: 113/120] macos: disable decorated for popupwindow



commit fe05a2d68c0aa7b32351548be78c26425788193d
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]