libwm

library for X windows manipulations
git clone git://z3bra.org/libwm
Log | Files | Refs | LICENSE

commit c01b3b57cb8df4904b2740a2fc4900b8f5026c70
parent be6ff33c3bd346fb2dcf3e725e23b92d6aa129ee
Author: z3bra <willyatmailoodotorg>
Date:   Sat Nov 14 23:15:25 2015

Fix typo in wm_resize causing weird behaviors

Diffstat:
 libwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libwm.c b/libwm.c @@ -319,7 +319,7 @@ wm_resize(xcb_window_t wid, int mode, int w, int h) w = scrn->width_in_pixels - curx - 2*curb; if (h < 0) - h = cury; + h = curh; if (cury + h > scrn->height_in_pixels) h = scrn->height_in_pixels - cury - 2*curb;