From 16bf143a0ff9c5e8c574c60f23898a5e121b916a Mon Sep 17 00:00:00 2001 From: hobbs Date: Mon, 24 Jun 2002 05:31:35 +0000 Subject: * 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. --- ChangeLog | 8 ++++++++ win/tkWinWm.c | 5 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40cdadd..bdb0fea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-06-23 Jeff Hobbs + + * 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 * 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; } -- cgit v0.12