aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-04-13 15:24:26 +0200
committerChristoph Lohmann <20h@r-36.net>2013-04-13 15:24:26 +0200
commit44db38a5f8560564851683f80e1a649836e5885c (patch)
tree712e5e7aea8d859b8ba7e03f021d9c536df663d5
parent4de64fa4d24fe0164bc59dd853982a43a9c19e56 (diff)
downloadst-44db38a5f8560564851683f80e1a649836e5885c.tar.gz
st-44db38a5f8560564851683f80e1a649836e5885c.zip
Fix the geometry handling.
-rw-r--r--st.13
-rw-r--r--st.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/st.1 b/st.1
index fc7703d..ab90908 100644
--- a/st.1
+++ b/st.1
@@ -37,6 +37,9 @@ to use when st is run.
37.TP 37.TP
38.BI \-g " geometry" 38.BI \-g " geometry"
39defines the X11 geometry string, which will fixate the height and width of st. 39defines the X11 geometry string, which will fixate the height and width of st.
40The form is [=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]. See
41.BR XParseGeometry (3)
42for further details.
40.TP 43.TP
41.BI \-o " file" 44.BI \-o " file"
42writes all the I/O to 45writes all the I/O to
diff --git a/st.c b/st.c
index de3d045..d7d70e7 100644
--- a/st.c
+++ b/st.c
@@ -3417,6 +3417,8 @@ run:
3417 xinit(); 3417 xinit();
3418 ttynew(); 3418 ttynew();
3419 selinit(); 3419 selinit();
3420 if(xw.isfixed)
3421 cresize(xw.h, xw.w);
3420 run(); 3422 run();
3421 3423
3422 return 0; 3424 return 0;