diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-04-13 15:24:26 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-04-13 15:24:26 +0200 |
commit | 44db38a5f8560564851683f80e1a649836e5885c (patch) | |
tree | 712e5e7aea8d859b8ba7e03f021d9c536df663d5 | |
parent | 4de64fa4d24fe0164bc59dd853982a43a9c19e56 (diff) | |
download | st-44db38a5f8560564851683f80e1a649836e5885c.tar.gz st-44db38a5f8560564851683f80e1a649836e5885c.tar.bz2 st-44db38a5f8560564851683f80e1a649836e5885c.zip |
Fix the geometry handling.
-rw-r--r-- | st.1 | 3 | ||||
-rw-r--r-- | st.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -37,6 +37,9 @@ to use when st is run. .TP .BI \-g " geometry" defines the X11 geometry string, which will fixate the height and width of st. +The form is [=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]. See +.BR XParseGeometry (3) +for further details. .TP .BI \-o " file" writes all the I/O to @@ -3417,6 +3417,8 @@ run: xinit(); ttynew(); selinit(); + if(xw.isfixed) + cresize(xw.h, xw.w); run(); return 0; |