diff options
author | hobbs <hobbs> | 2005-12-01 06:24:16 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-12-01 06:24:16 (GMT) |
commit | 4cd04ee31b81888a78ef6b97278b638d473bb7b4 (patch) | |
tree | 5d69b61049ff2295107776b3032a45ff78413b50 /macosx/tkMacOSXCarbonEvents.c | |
parent | f1db646ab6e4c24d6eb94aa7e5aeaf0d87b1b688 (diff) | |
download | tk-4cd04ee31b81888a78ef6b97278b638d473bb7b4.zip tk-4cd04ee31b81888a78ef6b97278b638d473bb7b4.tar.gz tk-4cd04ee31b81888a78ef6b97278b638d473bb7b4.tar.bz2 |
* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):
* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
* macosx/tkMacOSXEvent.h: Trap kEventAppAvailableWindowBoundsChanged
* macosx/tkMacOSXInt.h: event to watch for change in display size
and adjust internal state appropriately.
Diffstat (limited to 'macosx/tkMacOSXCarbonEvents.c')
-rw-r--r-- | macosx/tkMacOSXCarbonEvents.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/tkMacOSXCarbonEvents.c b/macosx/tkMacOSXCarbonEvents.c index ef2e32d..a8b752c 100644 --- a/macosx/tkMacOSXCarbonEvents.c +++ b/macosx/tkMacOSXCarbonEvents.c @@ -60,7 +60,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.6 2005/11/27 02:36:14 das Exp $ + * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.7 2005/12/01 06:24:16 hobbs Exp $ */ #include "tkInt.h" @@ -196,6 +196,7 @@ TkMacOSXInitCarbonEvents ( {kEventClassWindow, kEventWindowExpanded}, {kEventClassApplication, kEventAppHidden}, {kEventClassApplication, kEventAppShown}, + {kEventClassApplication, kEventAppAvailableWindowBoundsChanged}, }; EventHandlerUPP handler = NewEventHandlerUPP(CarbonEventHandlerProc); @@ -247,6 +248,7 @@ TkMacOSXInitCarbonEvents ( _TraceEventByName(CFSTR("kEventWindowExpanded")); _TraceEventByName(CFSTR("kEventAppHidden")); _TraceEventByName(CFSTR("kEventAppShown")); + _TraceEventByName(CFSTR("kEventAppAvailableWindowBoundsChanged")); } #endif /* TK_MAC_DEBUG_CARBON_EVENTS */ } |