mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 21:32:26 +01:00
Workspace::remove_floating_window calls the hook before it takes the window out of the ring (the KDE and macOS originals move the focus to the previous floating window first, and the focus index moves back by one whatever the length), but the hook was named after_floating_removed and its doc said after. Name and doc now say before; the behaviour is the one KDE and macOS had. KDE's and macOS's implementations are renamed with it (the only users; Windows keeps the no-op default). A stub test pins the order: the hook sees both floating windows when one is removed. Reviewer finding F2 (S/review/core.md). No behaviour change. Verified: cargo test -p komorebi-core --features schemars (native): 30 passed, 0 failed; KDE cargo test -p komorebi-linux (lite env): 664 passed, 0 failed; Windows clippy --locked --all-targets -D warnings: PASS; macOS fake-CC check: PASS. Not run: VM suites, Windows e2e.