mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Use isKeyWindow instead of isMainWindow for the non-click-through check
This commit is contained in:
parent
e8d6ac71b7
commit
55c71f18a4
@ -1538,7 +1538,7 @@ gdk_event_translate (GdkEvent *event,
|
||||
|
||||
if (![NSApp isActive])
|
||||
return FALSE;
|
||||
else if (![impl->toplevel isMainWindow])
|
||||
else if (![impl->toplevel isKeyWindow])
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user