diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macros.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.hpp b/src/macros.hpp index b57d9737..66dfe783 100644 --- a/src/macros.hpp +++ b/src/macros.hpp @@ -35,7 +35,7 @@ #define DYNLISTENER(name) CHyprWLListener hyprListener_##name #define DYNMULTILISTENER(name) wl_listener listen_##name -#define VECINRECT(vec, x1, y1, x2, y2) ((vec).x >= (x1) && (vec).x <= (x2) && (vec).y >= (y1) && (vec).y <= (y2)) +#define VECINRECT(vec, x1, y1, x2, y2) ((vec).x >= (x1) && (vec).x < (x2) && (vec).y >= (y1) && (vec).y < (y2)) #define DELTALESSTHAN(a, b, delta) (abs((a) - (b)) < (delta)) |
