tHeight is height. - st - [fork] customized build of st, the simple terminal | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9031e228ce283cd4847832acf012a910f74ad1ed | |
parent 610723a58f1fbd3c5d911c853a8b94c315fc7c2a | |
Author: Christoph Lohmann <[email protected]> | |
Date: Thu, 14 Jan 2016 23:19:03 +0100 | |
Height is height. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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; |