Use isKeyWindow instead of isMainWindow for the non-click-through check
This commit is contained in:
committed by
Alexander Larsson
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user