aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-02 14:55:17 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-02 14:55:17 -0400
commitd466cc117f95d34e239049a5af701b7ba696d336 (patch)
tree101675223e6764bbaf74829855fe41d4d7004952 /rootston
parent1f4a4a8641fa9dc57e1b24e92db9a5ed02ae4ce0 (diff)
Don't reset exclusive between layer shell passes
This is not the intended behavior of exclusive zones, the second pass is meant to respect the usable area.
Diffstat (limited to 'rootston')
-rw-r--r--rootston/layer_shell.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rootston/layer_shell.c b/rootston/layer_shell.c
index edfaf5ea..d3a91659 100644
--- a/rootston/layer_shell.c
+++ b/rootston/layer_shell.c
@@ -180,9 +180,6 @@ void arrange_layers(struct roots_output *output) {
}
// Arrange non-exlusive surfaces from top->bottom
- usable_area.x = usable_area.y = 0;
- wlr_output_effective_resolution(output->wlr_output,
- &usable_area.width, &usable_area.height);
arrange_layer(output->wlr_output,
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY],
&usable_area, false);