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



commit 95dd64475c237e987d516bc20118624d896e6cde
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]