fix damage tracking

This commit is contained in:
Valentin Boettcher 2024-12-10 11:33:55 -05:00 committed by GitHub
parent bb5c3f2702
commit a11e853935
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,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))