diff --git a/dmenu.c b/dmenu.c index 46ff3eb..fbc3742 100644 --- a/dmenu.c +++ b/dmenu.c @@ -663,7 +663,7 @@ setup(void) /* no focused window is on screen, so use pointer location instead */ if (mon < 0 && !area && XQueryPointer(dpy, root, &dw, &dw, &x, &y, &di, &di, &du)) for (i = 0; i < n; i++) - if (INTERSECT(x, y, 1, 1, info[i])) + if (INTERSECT(x, y, 1, 1, info[i]) != 0) break; if (centered) {