diff options
author | das <das@noemail.net> | 2006-07-25 12:09:04 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-07-25 12:09:04 (GMT) |
commit | 05ff1f752493033ec21299431a5e00823c054f68 (patch) | |
tree | 3d32f4066b3f8f21b1bc9a2a11e7977cbb748bff /macosx/tkMacOSXKeyEvent.c | |
parent | 094ba598fbb2ce5831835c73532bef980798de4d (diff) | |
download | tk-05ff1f752493033ec21299431a5e00823c054f68.zip tk-05ff1f752493033ec21299431a5e00823c054f68.tar.gz tk-05ff1f752493033ec21299431a5e00823c054f68.tar.bz2 |
* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key
shortcut for kHICommandQuit in the same way as other application menu
item key shortcuts. [Bug 1516950]
FossilOrigin-Name: da022048c05f27c1da3c3ff1b791445e36c71631
Diffstat (limited to 'macosx/tkMacOSXKeyEvent.c')
-rw-r--r-- | macosx/tkMacOSXKeyEvent.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |