mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 15:18:40 +01:00
The arms MoveWindow, FocusWindow, CycleFocusWindow, PreselectDirection, CancelPreselect, PromoteWindow, FocusNamedWorkspace, MoveContainerToNamedWorkspace, SendContainerToNamedWorkspace, ToggleWindowContainerBehaviour, ToggleCrossMonitorMoveBehaviour and ToggleMonocleFocusBehaviour are one call each into komorebi_core::command (12 arms; the 16 of the earlier batch are already there). The Windows WindowManager implements WindowCommandHost (thin forwards to its own direction functions, and Workspace::update) and BehaviourCommandHost (its three settings). The arm text was identical on all three daemons, so the same functions are called in the same order. Two small differences: a missing workspace is reported as "there is no workspace" by the shared code, and the named lookup is a shared function instead of WindowManager::monitor_workspace_index_by_name (which stays for its other callers). BEHAVIOUR (expected none; marked because arms moved): Windows e2e commands, workspaces, focus, stacking and monocle scenarios (the gated functions are called as before). Verified: cargo clippy -p komorebi-windows --all-targets -D warnings passes; tools/format-all --check clean. Windows tests and e2e cannot run on Linux.