mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 22:01:22 +01:00
tests/workspace_containers.rs (41 tests) over the recording stub: where a new window goes (empty, after the focused container, scrolling hook index, preselection, every initial placement rule incl. the 1-based index and its fallback), resize-slot bookkeeping on insert and remove, locked containers keeping their index on insert, swap and promote, the note_scrolling_departure hook before a removal, the focus index after remove_container (idx-1 of the FOCUSED container, not of the removed one), stacking (move_window_to_container) and unstacking with the exact hide/restore call order and the hide spot passed, focus by window, window lookup across containers, monocle, maximized and floating windows, location_from_exe order, visible_windows order, directions with and without layout flip, cycling and the pointer lookup. Verified: cargo test -p komorebi-core --test workspace_containers, 41 passed. No non-test source changed.