diff options
author | hobbs <hobbs> | 2002-06-24 05:31:35 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-06-24 05:31:35 (GMT) |
commit | 16bf143a0ff9c5e8c574c60f23898a5e121b916a (patch) | |
tree | c275e6175fc9c1779bedd58b877ffd0e42aeb65e /win/tkWinWm.c | |
parent | 890c34e8889317e09ba6b4a4c328e16b4712b9c7 (diff) | |
download | tk-16bf143a0ff9c5e8c574c60f23898a5e121b916a.zip tk-16bf143a0ff9c5e8c574c60f23898a5e121b916a.tar.gz tk-16bf143a0ff9c5e8c574c60f23898a5e121b916a.tar.bz2 |
* 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.
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |