From ffe6a2a094b40f2068f9d2a2558be02707b45cb4 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sat, 27 Jun 2015 16:49:25 +0000 Subject: [PATCH] Fix multi-monitor fullscreen --- sys-xcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-xcb.c b/sys-xcb.c index 1e8cbb8..0ab47b0 100644 --- a/sys-xcb.c +++ b/sys-xcb.c @@ -1105,8 +1105,8 @@ void sys_show(win_t *win, state_t state) if (state == ST_FULL || state == ST_MAX) { for (list_t *cur = screens; cur; cur = cur->next) { full = max = *(win_t*)cur->data; - if (win->x >= max.x && win->x <= max.x+max.w && - win->y >= max.y && win->y <= max.y+max.h) + if (win->x >= max.x && win->x < max.x+max.w && + win->y >= max.y && win->y < max.y+max.h) break; } for (list_t *cur = struts; cur; cur = cur->next) { -- 2.43.2