aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/nsfns.m10
2 files changed, 13 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3aaa7b778e4..9dc1b989e3f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-06-30 Jan Djärv <jan.h.d@swipnet.se>
2
3 * nsfns.m (handlePanelKeys): Don't process Command+Function keys.
4 Let the super performKeyEquivalent deal with them (Bug#14747).
5
12013-06-30 Paul Eggert <eggert@cs.ucla.edu> 62013-06-30 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * widget.c (resize_cb): Remove unused local. 8 * widget.c (resize_cb): Remove unused local.
diff --git a/src/nsfns.m b/src/nsfns.m
index 94339183159..1e075995c11 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -2705,8 +2705,14 @@ handlePanelKeys (NSSavePanel *panel, NSEvent *theEvent)
2705 case NSPageUpFunctionKey: 2705 case NSPageUpFunctionKey:
2706 case NSPageDownFunctionKey: 2706 case NSPageDownFunctionKey:
2707 case NSEndFunctionKey: 2707 case NSEndFunctionKey:
2708 [panel sendEvent: theEvent]; 2708 /* Don't send command modified keys, as those are handled in the
2709 ret = YES; 2709 performKeyEquivalent method of the super class.
2710 */
2711 if (! ([theEvent modifierFlags] & NSCommandKeyMask))
2712 {
2713 [panel sendEvent: theEvent];
2714 ret = YES;
2715 }
2710 break; 2716 break;
2711 /* As we don't have the standard key commands for 2717 /* As we don't have the standard key commands for
2712 copy/paste/cut/select-all in our edit menu, we must handle 2718 copy/paste/cut/select-all in our edit menu, we must handle