diff options
Diffstat (limited to 'src/layout.rs')
| -rw-r--r-- | src/layout.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout.rs b/src/layout.rs index 8f8fbb87..7f8be762 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -1407,10 +1407,11 @@ impl Monitor<Window> { impl<W: LayoutElement> Workspace<W> { fn new(output: Output) -> Self { + let working_area = layer_map_for_output(&output).non_exclusive_zone(); Self { original_output: OutputId::new(&output), view_size: output_size(&output), - working_area: Rectangle::from_loc_and_size((0, 0), output_size(&output)), + working_area, output: Some(output), columns: vec![], active_column_idx: 0, |
