Author: mlytwyn
Date: Thu Apr 13 19:37:50 2017
New Revision: 40475
URL: http://svn.gna.org/viewcvs/gnustep?rev=40475&view=rev
Log:
Attempt to fix incorrect 'W' key closing window
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=40475&r1=40474&r2=40475&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m Thu Apr
13 19:37:50 2017
@@ -3573,10 +3573,9 @@
if ([characters length] == 0)
return;
- // FIXME: Why is this here, is the code still needed or a left over hack?
// Try to process the event as a key equivalent
// without Command having being pressed
- if ([self performKeyEquivalent: new_event])
+ if ([self performKeyEquivalent: theEvent])
return;
// Otherwise, pass the event up
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs