summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXHLEvents.c
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2004-03-17 19:35:41 (GMT)
committerwolfsuit <wolfsuit>2004-03-17 19:35:41 (GMT)
commit284cb67abb5caf36c88b9e5bac8a6c41f305df46 (patch)
tree9d57e9bba4ede696553fdfdf53d934520b7ddb77 /macosx/tkMacOSXHLEvents.c
parent64a51bdf01b7ffa1a184f1c8e32a4ccd00443c93 (diff)
downloadtk-284cb67abb5caf36c88b9e5bac8a6c41f305df46.zip
tk-284cb67abb5caf36c88b9e5bac8a6c41f305df46.tar.gz
tk-284cb67abb5caf36c88b9e5bac8a6c41f305df46.tar.bz2
Trivial bug in tracking Hide/Show pairs.
Diffstat (limited to 'macosx/tkMacOSXHLEvents.c')
-rw-r--r--macosx/tkMacOSXHLEvents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXHLEvents.c b/macosx/tkMacOSXHLEvents.c
index e986eab..e2b6bb4 100644
--- a/macosx/tkMacOSXHLEvents.c
+++ b/macosx/tkMacOSXHLEvents.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.5.2.3 2004/03/17 19:01:46 wolfsuit Exp $
+ * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.5.2.4 2004/03/17 19:35:41 wolfsuit Exp $
*/
#include "tkMacOSXPort.h"
@@ -73,13 +73,13 @@ OSStatus ApplicationCarbonEventsHandler (EventHandlerCallRef inHandlerCallRef,
* the show preferences procedure doesn't exist.
*/
+ toggleHide = 1;
if ((interp == NULL) ||
(Tcl_GetCommandInfo(interp,
"::tk::mac::OnHide", &dummy)) == 0) {
return eventNotHandledErr;
}
Tcl_GlobalEval(interp, "::tk::mac::OnHide");
- toggleHide = 1;
break;
case kEventAppShown:
if (toggleHide == 1) {