diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | win/tkWinWm.c | 5 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,11 @@ +2002-06-23 Jeff Hobbs <jeffh@ActiveState.com> + + * win/tkWinWm.c (UpdateGeometryInfo): remove the check for a null + wrapper introduced in r1.41 on 2002-06-15 because it prevented + geometry setting from taking effect if the window was not on the + screen. Another check may go in it's place as IsIconic and + IsZoomed should not be passed NULL. + 2002-06-22 Mo DeJong <mdejong@users.sourceforge.net> * tests/wm.test: Remove invalid minsize test. Add update diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 376a42b..58c4c3d 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.44 2002/06/24 02:17:57 mdejong Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.45 2002/06/24 05:31:35 hobbs Exp $ */ #include "tkWinInt.h" @@ -3823,8 +3823,7 @@ UpdateGeometryInfo(clientData) * state of the window changes. */ - if ((wmPtr->wrapper == NULL) - || IsIconic(wmPtr->wrapper) || IsZoomed(wmPtr->wrapper)) { + if (IsIconic(wmPtr->wrapper) || IsZoomed(wmPtr->wrapper)) { return; } |