mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Take menu's bwidth into account for position/size; reported by Thomas Adam.
This commit is contained in:
parent
8b63ac62c2
commit
fd827fd757
4
menu.c
4
menu.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user