diff options
author | okan <okan> | 2014-02-01 19:28:46 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-01 19:28:46 +0000 |
commit | fd827fd7578faae62b798c4b24f2aa6d80b7b7ce (patch) | |
tree | 5aa3f84db6532ead5982cc33a594b0c6dc72e027 /menu.c | |
parent | 8b63ac62c2d87eb5c66dea85acaa53ab26898a49 (diff) | |
download | cwm-fd827fd7578faae62b798c4b24f2aa6d80b7b7ce.tar.gz cwm-fd827fd7578faae62b798c4b24f2aa6d80b7b7ce.tar.xz cwm-fd827fd7578faae62b798c4b24f2aa6d80b7b7ce.zip |
Take menu's bwidth into account for position/size; reported by Thomas Adam.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c index 7a35ddd..5ed51d2 100644 --- a/menu.c +++ b/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; |