Merge branch 'wip/chergert/macos-fix-popup-input' into 'main'

macos: fix keyboard input on popovers

See merge request GNOME/gtk!4490
This commit is contained in:
Matthias Clasen
2022-02-17 13:53:04 +00:00

View File

@@ -310,7 +310,7 @@ typedef NSString *CALayerContentsGravity;
-(BOOL)canBecomeKeyWindow
{
return GDK_IS_TOPLEVEL (gdk_surface);
return GDK_IS_TOPLEVEL (gdk_surface) || GDK_IS_POPUP (gdk_surface);
}
-(void)showAndMakeKey:(BOOL)makeKey