summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2006-07-25 12:09:05 (GMT)
committerdas <das>2006-07-25 12:09:05 (GMT)
commit0b1b05e64004d607c1aadd9e87a8ea582b29d277 (patch)
tree3d32f4066b3f8f21b1bc9a2a11e7977cbb748bff
parentbcfeedb5c175487d8a599c607eada7f07349373f (diff)
downloadtk-0b1b05e64004d607c1aadd9e87a8ea582b29d277.zip
tk-0b1b05e64004d607c1aadd9e87a8ea582b29d277.tar.gz
tk-0b1b05e64004d607c1aadd9e87a8ea582b29d277.tar.bz2
* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key
shortcut for kHICommandQuit in the same way as other application menu item key shortcuts. [Bug 1516950]
-rw-r--r--ChangeLog6
-rw-r--r--macosx/tkMacOSXKeyEvent.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f0d055..2e3e6a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-25 Daniel Steffen <das@users.sourceforge.net>
+
+ * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key
+ shortcut for kHICommandQuit in the same way as other application menu
+ item key shortcuts. [Bug 1516950]
+
2006-07-24 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXWm.c (TkWmMapWindow): fix incorrect values of wmInfo
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c
index 3a48fa0..692c194 100644
--- a/macosx/tkMacOSXKeyEvent.c
+++ b/macosx/tkMacOSXKeyEvent.c
@@ -54,7 +54,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.6.2.10 2006/07/20 06:27:34 das Exp $
+ * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.6.2.11 2006/07/25 12:09:05 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -194,6 +194,7 @@ TkMacOSXProcessKeyboardEvent(
case kHICommandHideOthers:
case kHICommandShowAll:
case kHICommandPreferences:
+ case kHICommandQuit:
statusPtr->stopProcessing = 0;
return 0; /* TODO: may not be on event on queue. */
break;