projects
/
suckless
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de64fa
)
Fix the geometry handling.
author
Christoph Lohmann
<20h@r-36.net>
Sat, 13 Apr 2013 13:24:26 +0000
(15:24 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 13 Apr 2013 13:24:26 +0000
(15:24 +0200)
st.1
patch
|
blob
|
history
st.c
patch
|
blob
|
history
diff --git
a/st.1
b/st.1
index fc7703d28f386b9f4887f1c0e8dd4c4bc0b52667..ab9090874551346eec461d9f76445521ed06c708 100644
(file)
--- a/
st.1
+++ b/
st.1
@@
-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
diff --git
a/st.c
b/st.c
index de3d04599707731ea0e2add3f63f029cbeec25ac..d7d70e7007342390bac193588e308560343bae17 100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-3417,6
+3417,8
@@
run:
xinit();
ttynew();
selinit();
+ if(xw.isfixed)
+ cresize(xw.h, xw.w);
run();
return 0;