forge
Explore
Log in

Don't you dare go Hollow

layout: Add clarifying comment

Browse files at this commit

859c0be0e5fa5ccf3c59f0ae1764551a930656fdIvan MolodetskikhParent: 810ea24
src/layout/monitor.rsmodified+3 -0
@@ -217,6 +217,9 @@ impl<W: LayoutElement> Monitor<W> {
217217
218218 // After adding a new window, workspace becomes this output's own.
219219 workspace.original_output = OutputId::new(&self.output);
220+
221+ // Since we're adding window right of something, the workspace isn't empty, and therefore
222+ // cannot be the last one, so we never need to insert a new empty workspace.
220223 }
221224
222225 pub fn add_column(&mut self, workspace_idx: usize, column: Column<W>, activate: bool) {