Teach screen_find_xinerama() to apply gap only when told to do so;

adjust callers.  Needed for an upcoming feature.
This commit is contained in:
okan
2013-12-13 22:39:13 +00:00
parent 5732b65139
commit f98f4615c0
6 changed files with 25 additions and 15 deletions

2
menu.c
View File

@@ -380,7 +380,7 @@ menu_draw(struct menu_ctx *mc, struct menu_q *menuq, struct menu_q *resultq)
mc->num++;
}
xine = screen_find_xinerama(sc, mc->x, mc->y);
xine = screen_find_xinerama(sc, mc->x, mc->y, CWM_GAP);
xine.w += xine.x;
xine.h += xine.y;