From: Michael Gernoth Date: Mon, 14 Jan 2008 09:11:50 +0000 (+0100) Subject: allow window to be resized X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/e7d465f261b2c0b34112a9779d27366a0beaa292?ds=sidebyside allow window to be resized this is not optimal, as the embedded subwindows do not resize but at least it is usable on smaller displays --- diff --git a/res/whead.tcl b/res/whead.tcl index d437925..3cb3ced 100644 --- a/res/whead.tcl +++ b/res/whead.tcl @@ -119,8 +119,8 @@ wm iconname $win {Micropolis Controls} wm geometry $win 1200x900+0+0 #wm positionfrom $win user wm withdraw $win -#wm maxsize $win $screenwidth $screenheight -#wm minsize $win 100 100 +wm maxsize $win $screenwidth $screenheight +wm minsize $win 100 100 wm protocol $win delete "DeleteHeadWindow $win ;" wm fullscreen $win on