summaryrefslogtreecommitdiffstats
path: root/source/x11-helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-10-26 08:24:34 +0200
committerDave Davenport <qball@gmpclient.org>2016-10-26 08:24:34 +0200
commitfb459e16606da7e53d46661b151869ad01e242e6 (patch)
tree1e68c54759e635870f0deecb6a94b630ddcf5b3c /source/x11-helper.c
parent163934fa8cb1cc0d0cd7b649723b68b9a0fe5211 (diff)
Make scrollbar behave better
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r--source/x11-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c
index 1aa65d41..eca9b66f 100644
--- a/source/x11-helper.c
+++ b/source/x11-helper.c
@@ -47,7 +47,7 @@
#include <rofi.h>
/** Checks if the if x and y is inside rectangle. */
-#define INTERSECT( x,y, x1, y1, w1, h1 ) ( ( ((x) >= (x1)) && ((x) < (x1+w1)) ) && ( ((y) >= (y1)) && ((y) < (y1+h1)) ) )
+#define INTERSECT( x, y, x1, y1, w1, h1 ) ( ( ( ( x ) >= ( x1 ) ) && ( ( x ) < ( x1 + w1 ) ) ) && ( ( ( y ) >= ( y1 ) ) && ( ( y ) < ( y1 + h1 ) ) ) )
#include "x11-helper.h"
#include "xkb-internal.h"