Author: paullanders
Date: Wed Jun 24 19:29:59 2015
New Revision: 38676
URL: http://svn.gna.org/viewcvs/gnustep?rev=38676&view=rev
Log:
send mouse down event to views that do not accept first mouse, in non-key
windows, if the window can not become key.
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m?rev=38676&r1=38675&r2=38676&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m Wed Jun
24 19:29:59 2015
@@ -3831,7 +3831,7 @@
return;
}
}
- if (wasKey == YES || [v acceptsFirstMouse: theEvent] == YES)
+ if (wasKey == YES || [v acceptsFirstMouse: theEvent] == YES ||
![self canBecomeKeyWindow])
{
if ([NSHelpManager isContextHelpModeActive])
{
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs