summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXCarbonEvents.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-11-30 01:02:55 (GMT)
committerhobbs <hobbs>2005-11-30 01:02:55 (GMT)
commit12e3724cff854097e33aacfde2f9d8ae89ad8b06 (patch)
tree890ac33201f8bc8ac2d2f6254f8c3912d6f86886 /macosx/tkMacOSXCarbonEvents.c
parent0805428fc70c423c555452caba933228486c7c5d (diff)
downloadtk-12e3724cff854097e33aacfde2f9d8ae89ad8b06.zip
tk-12e3724cff854097e33aacfde2f9d8ae89ad8b06.tar.gz
tk-12e3724cff854097e33aacfde2f9d8ae89ad8b06.tar.bz2
* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): * macosx/tkMacOSXInt.h: Trap kEventAppAvailableWindowBoundsChanged event to watch for change in display size and adjust internal state appropriately.
Diffstat (limited to 'macosx/tkMacOSXCarbonEvents.c')
-rw-r--r--macosx/tkMacOSXCarbonEvents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXCarbonEvents.c b/macosx/tkMacOSXCarbonEvents.c
index 855ab7b..196002a 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.3.2.5 2005/11/27 02:36:46 das Exp $
+ * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.3.2.6 2005/11/30 01:02:55 hobbs Exp $
*/
#include "tkInt.h"
@@ -196,6 +196,7 @@ TkMacOSXInitCarbonEvents (
{kEventClassWindow, kEventWindowExpanded},
{kEventClassApplication, kEventAppHidden},
{kEventClassApplication, kEventAppShown},
+ {kEventClassApplication, kEventAppAvailableWindowBoundsChanged},
};
EventHandlerUPP handler = NewEventHandlerUPP(CarbonEventHandlerProc);