diff --git a/crates/komorebi-core/tests/commands.rs b/crates/komorebi-core/tests/commands.rs index d57e4123..f82f86ee 100644 --- a/crates/komorebi-core/tests/commands.rs +++ b/crates/komorebi-core/tests/commands.rs @@ -19,7 +19,6 @@ struct Host { focused: usize, pointer_on: Option, calls: Vec, - pointer_for_all: bool, } fn monitor(workspaces: usize) -> Monitor { @@ -50,7 +49,6 @@ impl Host { focused: 0, pointer_on: None, calls: vec![], - pointer_for_all: false, } } @@ -61,7 +59,8 @@ impl Host { /// puts a window on workspace `idx` of the focused monitor fn occupy(&mut self, idx: usize, window: u32) { self.monitors[self.focused].workspaces_mut()[idx] - .new_container_for_window(StubWindow { id: window }); + .new_container_for_window(StubWindow { id: window }) + .unwrap(); } }