Skip to content

Commit

Permalink
layout: Add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Oct 10, 2024
1 parent 810ea24 commit 859c0be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/layout/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 859c0be

Please sign in to comment.