send mouse down event to views that do not accept first mouse, in non-key windows, if the window can not become key.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38676 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Paul Landers 2015-06-24 17:29:59 +00:00
parent 31e58c2158
commit 9ad8451677

View file

@ -3831,7 +3831,7 @@ resetCursorRectsForView(NSView *theView)
return;
}
}
if (wasKey == YES || [v acceptsFirstMouse: theEvent] == YES)
if (wasKey == YES || [v acceptsFirstMouse: theEvent] == YES || ![self canBecomeKeyWindow])
{
if ([NSHelpManager isContextHelpModeActive])
{