summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-16 22:26:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-16 22:26:50 (GMT)
commitf4876885b53d6ed34fb1c3577e0c2d238a871953 (patch)
tree2cdb1ff7b6c35f28702c0ce01d36699053494d74 /library/tk.tcl
parent31f6b36e6e188b6b5c7a5007b15b99100b597bab (diff)
downloadtk-f4876885b53d6ed34fb1c3577e0c2d238a871953.zip
tk-f4876885b53d6ed34fb1c3577e0c2d238a871953.tar.gz
tk-f4876885b53d6ed34fb1c3577e0c2d238a871953.tar.bz2
set [wm maxsize] as well
Diffstat (limited to 'library/tk.tcl')
-rw-r--r--library/tk.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 1935bbc..57525f1 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -122,6 +122,7 @@ proc ::tk::PlaceWindow {w {place ""} {anchor ""}} {
if {$y < 22} { set y 22 }
}
}
+ wm maxsize $w [winfo vrootwidth $w] [winfo vrootheight $w]
wm geometry $w +$x+$y
wm deiconify $w
}