commit 9712ea02fd4c2a335b23247346c2ffd3f30e47cf
parent 654505cefa9f127349b33005dbd49d76eaaa331d
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 17 Sep 2021 15:15:00 +0200
Fix warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
@@ -634,7 +634,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;
x = info[i].x_org;