diff options
| -rw-r--r-- | src/layout/monitor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs index f5424262..9e2c6e27 100644 --- a/src/layout/monitor.rs +++ b/src/layout/monitor.rs @@ -217,6 +217,9 @@ impl<W: LayoutElement> Monitor<W> { // After adding a new window, workspace becomes this output's own. workspace.original_output = OutputId::new(&self.output); + + // Since we're adding window right of something, the workspace isn't empty, and therefore + // cannot be the last one, so we never need to insert a new empty workspace. } pub fn add_column(&mut self, workspace_idx: usize, column: Column<W>, activate: bool) { |
