Commit 9d3f2fc2 authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsfns.m (handlePanelKeys): Don't process Command+Function keys.

Let the super performKeyEquivalent deal with them.

Fixes: debbugs:14747
parent 1d71c1d9
2013-06-30 Jan Djärv <jan.h.d@swipnet.se>
* nsfns.m (handlePanelKeys): Don't process Command+Function keys.
Let the super performKeyEquivalent deal with them (Bug#14747).
2013-06-30 Paul Eggert <eggert@cs.ucla.edu> 2013-06-30 Paul Eggert <eggert@cs.ucla.edu>
* widget.c (resize_cb): Remove unused local. * widget.c (resize_cb): Remove unused local.
......
...@@ -2705,8 +2705,14 @@ DY added (default is -10). ...@@ -2705,8 +2705,14 @@ DY added (default is -10).
case NSPageUpFunctionKey: case NSPageUpFunctionKey:
case NSPageDownFunctionKey: case NSPageDownFunctionKey:
case NSEndFunctionKey: case NSEndFunctionKey:
[panel sendEvent: theEvent]; /* Don't send command modified keys, as those are handled in the
ret = YES; performKeyEquivalent method of the super class.
*/
if (! ([theEvent modifierFlags] & NSCommandKeyMask))
{
[panel sendEvent: theEvent];
ret = YES;
}
break; break;
/* As we don't have the standard key commands for /* As we don't have the standard key commands for
copy/paste/cut/select-all in our edit menu, we must handle copy/paste/cut/select-all in our edit menu, we must handle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment