aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2016-01-14 23:19:03 +0100
committerChristoph Lohmann <20h@r-36.net>2016-01-14 23:19:03 +0100
commit9031e228ce283cd4847832acf012a910f74ad1ed (patch)
tree5c7e54781261845a19dab13cb3348e28abe51124 /st.c
parent610723a58f1fbd3c5d911c853a8b94c315fc7c2a (diff)
downloadst-9031e228ce283cd4847832acf012a910f74ad1ed.tar.gz
Height is height.
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 427ec46..98622ec 100644
--- a/st.c
+++ b/st.c
@@ -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;
remember that computers suck.