diff options
author | wolfsuit <wolfsuit> | 2005-03-15 02:11:51 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2005-03-15 02:11:51 (GMT) |
commit | 565a4532b6be90cf73653139d81d870a6bdac521 (patch) | |
tree | fbedbbcd442c6affde483efbfab63a22249bcb2d /macosx/tkMacOSXInt.h | |
parent | 5181ac5574ed054daccb78e2648865d9676db22b (diff) | |
download | tk-565a4532b6be90cf73653139d81d870a6bdac521.zip tk-565a4532b6be90cf73653139d81d870a6bdac521.tar.gz tk-565a4532b6be90cf73653139d81d870a6bdac521.tar.bz2 |
2005-03-14 Jim Ingham <jingham@apple.com>
* macosx/tkMacOSXScrlbr.c (ThumbActionProc): No need to use
"update idletasks" here, TclServiceIdle will do as well and it
is simpler.
These changes implement a change on the Mac OS X side. When we
unmap a window we mark all its children as unmapped (not following
toplevels. But we preserve whether they had been mapped before,
and when the parent is remapped, we remap the children as well.
[Bug 940117]
* macosx/tkMacOSXInt.h: Added TK_MAPPED_IN_PARENT
* macosx/tkMacOSXSubwindows.c (FixMappingFlags): New function.
(XMapWindow): Call FixMappingFlags.
(XUnMapWindow): Ditto.
* tkMacOSXSubWindows.c (XMoveResizeWindow): Update the xOff & yOff
data in the Macdrawable even if the native window hasn't been
created yet. [Bug 700305]
(XMoveWindow): Ditto.
(XResizeWindow): Ditto.
Diffstat (limited to 'macosx/tkMacOSXInt.h')
-rw-r--r-- | macosx/tkMacOSXInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXInt.h b/macosx/tkMacOSXInt.h index 395ccbc..2f33604 100644 --- a/macosx/tkMacOSXInt.h +++ b/macosx/tkMacOSXInt.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXInt.h,v 1.6 2005/03/12 00:28:09 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXInt.h,v 1.7 2005/03/15 02:11:56 wolfsuit Exp $ */ #ifndef _TKMACINT @@ -68,6 +68,7 @@ typedef struct TkMacOSXWindowList { #define TK_CLIP_INVALID 2 #define TK_HOST_EXISTS 4 #define TK_DRAWN_UNDER_MENU 8 +#define TK_MAPPED_IN_PARENT 16 /* * I am reserving TK_EMBEDDED = 0x100 in the MacDrawable flags |