[dev] [PATCH 1/2] DisplayWidth instead of DisplayHeight was used

From: Yuri Karaban <suckless_AT_dev97.com>
Date: Mon, 28 Apr 2014 21:36:39 +0300

---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 9079834..d03230f 100644
--- a/st.c
+++ b/st.c
_AT_@ -3044,7 +3044,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;
-- 
1.9.2
Received on Mon Apr 28 2014 - 20:36:39 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 28 2014 - 20:48:06 CEST