Take menu's bwidth into account for position/size; reported by Thomas Adam.

This commit is contained in:
okan 2014-02-01 19:28:46 +00:00
parent 8b63ac62c2
commit fd827fd757

4
menu.c
View File

@ -382,8 +382,8 @@ menu_draw(struct menu_ctx *mc, struct menu_q *menuq, struct menu_q *resultq)
}
xine = screen_find_xinerama(sc, mc->x, mc->y, CWM_GAP);
xine.w += xine.x;
xine.h += xine.y;
xine.w += xine.x - Conf.bwidth * 2;
xine.h += xine.y - Conf.bwidth * 2;
xsave = mc->x;
ysave = mc->y;