diff options
author | das <das> | 2006-04-11 07:36:40 (GMT) |
---|---|---|
committer | das <das> | 2006-04-11 07:36:40 (GMT) |
commit | 25e939e6af367ad7192df73d73ae0e43e8ba86df (patch) | |
tree | a7850291b1d9e317f9f61721f3b814c992be5196 /macosx/tkMacOSXWindowEvent.c | |
parent | 7453482e26a8d90fd90b6d652b5d47679a91390d (diff) | |
download | tk-25e939e6af367ad7192df73d73ae0e43e8ba86df.zip tk-25e939e6af367ad7192df73d73ae0e43e8ba86df.tar.gz tk-25e939e6af367ad7192df73d73ae0e43e8ba86df.tar.bz2 |
* macosx/tkMacOSXInt.h: Implemented 'zoomed' window state
* macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar
* macosx/tkMacOSXWm.c: widget clicks as well as [wm state].
* doc/wm.n: [Bug 1073456]
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index 1a18b33..42f1041 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -54,7 +54,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXWindowEvent.c,v 1.3.2.9 2006/03/28 02:44:14 das Exp $ + * RCS: @(#) $Id: tkMacOSXWindowEvent.c,v 1.3.2.10 2006/04/11 07:36:40 das Exp $ */ #include "tkMacOSXInt.h" @@ -238,7 +238,8 @@ TkMacOSXProcessWindowEvent( dispPtr = TkGetDisplayList(); winPtr = (TkWindow *)Tk_IdToWindow(dispPtr->display, window); if (winPtr) { - TkpWmSetState(winPtr, NormalState); + TkpWmSetState(winPtr, TkMacOSXIsWindowZoomed(winPtr) ? + ZoomState : NormalState); } break; } |