diff options
author | mdejong <mdejong@noemail.net> | 2002-06-24 02:17:57 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2002-06-24 02:17:57 (GMT) |
commit | 16274c855bb0b2965bdedc06ab52bfe5177d8293 (patch) | |
tree | edbc5e0880c2a9fa6c82684e50af26e54f9b776b /win/tkWinWm.c | |
parent | 008dee13bcc18621132480ed7a8ef45dcda0a89f (diff) | |
download | tk-16274c855bb0b2965bdedc06ab52bfe5177d8293.zip tk-16274c855bb0b2965bdedc06ab52bfe5177d8293.tar.gz tk-16274c855bb0b2965bdedc06ab52bfe5177d8293.tar.bz2 |
* tests/wm.test: Remove invalid minsize test. Add update
calls to wm transient tests so that idle handlers get
run. This is needed to get the tests to pass under Win32.
* unix/tkUnixWm.c (WmWaitMapProc): Move the special
transient withdrawn check into the if body to
make it easier to set a breakpoint on this test
inside a debugger. No functional changes.
* win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
FossilOrigin-Name: 033a5a14b699169c2ef9e9277c3b97bbfac41cd4
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 5532c6e..376a42b 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWm.c,v 1.43 2002/06/22 10:13:26 hobbs Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.44 2002/06/24 02:17:57 mdejong Exp $ */ #include "tkWinInt.h" @@ -3512,9 +3512,9 @@ WmWaitVisibilityOrMapProc(clientData, eventPtr) if (masterPtr == NULL) return; - if (eventPtr->type == MapNotify && - !(winPtr->wmInfoPtr->flags & WM_TRANSIENT_WITHDRAWN)) { - TkpWmSetState(winPtr, NormalState); + if (eventPtr->type == MapNotify) { + if (!(winPtr->wmInfoPtr->flags & WM_TRANSIENT_WITHDRAWN)) + TkpWmSetState(winPtr, NormalState); } else if (eventPtr->type == UnmapNotify) { TkpWmSetState(winPtr, WithdrawnState); } |