[gtk/wip/chergert/quartz4u: 62/65] macos: always make key window when presenting



commit 4591f24e73cbc95b7e153abcae74a06da15f8f5f
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 13 16:53:24 2020 -0700

    macos: always make key window when presenting
    
    We don't have child surfaces anymore, so it always makes sense to be key

 gdk/macos/gdkmacossurface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 214d2411c4..659d599299 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -694,7 +694,7 @@ _gdk_macos_surface_show (GdkMacosSurface *self)
 
   _gdk_surface_update_viewable (GDK_SURFACE (self));
 
-  [self->window showAndMakeKey:GDK_IS_TOPLEVEL (self)];
+  [self->window showAndMakeKey:YES];
 
   if (!was_mapped)
     {


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