From 0344cdea206bd589517e2fa239d733b2bd43ce83 Mon Sep 17 00:00:00 2001 From: Stein Date: Thu, 2 Jan 2020 10:09:26 +0100 Subject: [PATCH] [hackers] [dmenu][PATCH] Fix C warning about using '*' in boolean context --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu.c b/dmenu.c index 54b4f95..44ce156 100644 --- a/dmenu.c +++ b/dmenu.c @@ -906,7 +906,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 CENTER_PATCH