Use isKeyWindow instead of isMainWindow for the non-click-through check

This commit is contained in:
Richard Hult 2009-01-31 21:32:11 +01:00 committed by Alexander Larsson
parent e8d6ac71b7
commit 55c71f18a4

View File

@ -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;
}