From 2f199b5ad84adda4a8b7d72b78529d68ec037786 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 13 Dec 2013 22:39:13 +0000 Subject: Teach screen_find_xinerama() to apply gap only when told to do so; adjust callers. Needed for an upcoming feature. --- menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 68e0e65..d1dad55 100644 --- a/menu.c +++ b/menu.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.68 2013/12/02 20:01:19 okan Exp $ + * $OpenBSD: menu.c,v 1.69 2013/12/13 22:39:13 okan Exp $ */ #include @@ -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; -- cgit v1.2.3-2-gb3c3