Browse Source

Height is height.

Christoph Lohmann 9 năm trước cách đây
mục cha
commit
9031e228ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      st.c

+ 1 - 1
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;