aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index d95e6c6..eca67ac 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -652,7 +652,7 @@ setup(void)
652 /* no focused window is on screen, so use pointer location instead */ 652 /* no focused window is on screen, so use pointer location instead */
653 if (mon < 0 && !area && XQueryPointer(dpy, root, &dw, &dw, &x, &y, &di, &di, &du)) 653 if (mon < 0 && !area && XQueryPointer(dpy, root, &dw, &dw, &x, &y, &di, &di, &du))
654 for (i = 0; i < n; i++) 654 for (i = 0; i < n; i++)
655 if (INTERSECT(x, y, 1, 1, info[i])) 655 if (INTERSECT(x, y, 1, 1, info[i]) != 0)
656 break; 656 break;
657 657
658 x = info[i].x_org; 658 x = info[i].x_org;