From: Andy Spencer Date: Sat, 27 Jun 2015 16:49:25 +0000 (+0000) Subject: Fix multi-monitor fullscreen X-Git-Url: http://pileus.org/git/?p=wmpus;a=commitdiff_plain;h=ffe6a2a094b40f2068f9d2a2558be02707b45cb4 Fix multi-monitor fullscreen --- 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) {