mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +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])
|
if (![NSApp isActive])
|
||||||
return FALSE;
|
return FALSE;
|
||||||
else if (![impl->toplevel isMainWindow])
|
else if (![impl->toplevel isKeyWindow])
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user