mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 16:09:49 +01:00
compositor: fix getMonitorFromVector getting wrong monitor (#6010)
This commit is contained in:
parent
ed3a888fc2
commit
3529fbc6d4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue