mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 22:33:12 +01:00
komorebi_core::set_container_locked is the body of the LockMonitorWorkspaceContainer and UnlockMonitorWorkspaceContainer arms (the two differ by the flag; the text is the same on all three daemons), over a third small host trait ContainerCommandHost: CommandHost that has monitors_mut. Tests: lock then unlock, a container index that is not there is ignored and a missing monitor or workspace is an error. Verified: cargo test -p komorebi-core --features schemars --test commands (native): 16 passed, 0 failed. Not run: the daemons.