fix(wm): use absolute monitor sizes and fix deadlock

This commit switches to using absolute intead of relative monitor sizes,
I don't fully understand by the NS APIs and the CG APIs return totally
different coordinate systems.

There was also a deadlock in the monitor reconciliator which I think I
figured out; it's a little ugly both in code and in execution but the
deadlocks and pkill -9s can be put away from now.

Cross-monitor moves aren't working which I'll look into next.
This commit is contained in:
LGUG2Z committed 2025-09-26 09:53:37 -07:00
1 parent f7afe4f8ec
commit fa6ce669f7
7 files changed
+213 -113

No files matched your search

+3
View File
@@ -39,6 +39,9 @@ debug target $RUST_LOG="debug":
trace target $RUST_LOG="trace":
just run {{ target }}
deadlock $RUST_LOG="trace":
cargo +stable run --bin komorebi --locked --no-default-features --features deadlock_detection
depgen:
cargo deny check
cargo deny list --format json | jq 'del(.unlicensed)' > dependencies.json