summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2002-06-24 05:31:34 (GMT)
committerhobbs <hobbs@noemail.net>2002-06-24 05:31:34 (GMT)
commitd3b70660bd42d2090aaa1e64fc1b91a85bb9067f (patch)
treec275e6175fc9c1779bedd58b877ffd0e42aeb65e /win
parent16274c855bb0b2965bdedc06ab52bfe5177d8293 (diff)
downloadtk-d3b70660bd42d2090aaa1e64fc1b91a85bb9067f.zip
tk-d3b70660bd42d2090aaa1e64fc1b91a85bb9067f.tar.gz
tk-d3b70660bd42d2090aaa1e64fc1b91a85bb9067f.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. FossilOrigin-Name: baa8df33c42aaacf8031fc7092ea48db03fcc160
Diffstat (limited to 'win')
-rw-r--r--win/tkWinWm.c5
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;
}