diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-16 22:26:50 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-16 22:26:50 (GMT) |
commit | ab01eb4abe8b8e682064c5ce365437761ee39737 (patch) | |
tree | 2cdb1ff7b6c35f28702c0ce01d36699053494d74 /library/tk.tcl | |
parent | 14843c0deb1082cff5cdcce06824de709c18195b (diff) | |
download | tk-ab01eb4abe8b8e682064c5ce365437761ee39737.zip tk-ab01eb4abe8b8e682064c5ce365437761ee39737.tar.gz tk-ab01eb4abe8b8e682064c5ce365437761ee39737.tar.bz2 |
set [wm maxsize] as well
FossilOrigin-Name: d6d2ddb51b6007358ebeafbb13ee332731942f0c
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 1 |
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 } |