layout: Fix assertion in verify_invariants()
Browse files at this commit99b4ea65411bcfd91a0ec42222712f48b8a08629Parent: 513763e1 changed file +1 -1
- src/layout.rs +1 -1
src/layout.rsmodified+1 -1
| @@ -783,7 +783,7 @@ impl<W: LayoutElement> MonitorSet<W> { | |||
| 783 | MonitorSet::NoOutputs(workspaces) => { | 783 | MonitorSet::NoOutputs(workspaces) => { |
| 784 | for workspace in workspaces { | 784 | for workspace in workspaces { |
| 785 | assert!( | 785 | assert!( |
| 786 | - !workspace.has_windows(), | 786 | + workspace.has_windows(), |
| 787 | "with no outputs there cannot be empty workspaces" | 787 | "with no outputs there cannot be empty workspaces" |
| 788 | ); | 788 | ); |
| 789 | 789 | ||