[gtk/wip/chergert/quartz4u: 64/65] macos: make popup surfaces key
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 64/65] macos: make popup surfaces key
- Date: Wed, 13 May 2020 23:59:08 +0000 (UTC)
commit bf82d8bf63b4fa4664b7057b6f1ba4bdf72ae35b
Author: Christian Hergert <chergert redhat com>
Date: Wed May 13 16:54:50 2020 -0700
macos: make popup surfaces key
gdk/macos/gdkmacospopupsurface.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gdk/macos/gdkmacospopupsurface.c b/gdk/macos/gdkmacospopupsurface.c
index 9da37fb09a..3ad930ba1d 100644
--- a/gdk/macos/gdkmacospopupsurface.c
+++ b/gdk/macos/gdkmacospopupsurface.c
@@ -71,7 +71,6 @@ gdk_macos_popup_surface_layout (GdkMacosPopupSurface *self,
final_rect.height);
else
_gdk_macos_surface_move (GDK_MACOS_SURFACE (self), x, y);
-
}
static void
@@ -79,7 +78,7 @@ show_popup (GdkMacosPopupSurface *self)
{
NSWindow *nswindow = _gdk_macos_surface_get_native (GDK_MACOS_SURFACE (self));
- [(GdkMacosWindow *)nswindow showAndMakeKey:NO];
+ [(GdkMacosWindow *)nswindow showAndMakeKey:YES];
_gdk_macos_surface_show (GDK_MACOS_SURFACE (self));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]