[hackers] [st] Height is height. || Christoph Lohmann
commit 9031e228ce283cd4847832acf012a910f74ad1ed
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Thu Jan 14 23:19:03 2016 +0100
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Thu Jan 14 23:19:03 2016 +0100
Height is height.
diff --git a/st.c b/st.c
index 427ec46..98622ec 100644
--- a/st.c
+++ b/st.c
_AT_@ -3469,7 +3469,7 @@ xinit(void)
if (xw.gm & XNegative)
xw.l += DisplayWidth(xw.dpy, xw.scr) - xw.w - 2;
if (xw.gm & YNegative)
- xw.t += DisplayWidth(xw.dpy, xw.scr) - xw.h - 2;
+ xw.t += DisplayHeight(xw.dpy, xw.scr) - xw.h - 2;
/* Events */
xw.attrs.background_pixel = dc.col[defaultbg].pixel;
Received on Thu Jan 14 2016 - 23:19:25 CET
This archive was generated by hypermail 2.3.0
: Thu Jan 14 2016 - 23:24:14 CET