commit 3bab37858a2e85982aef3588064325405618c8e7
parent 64bd4d568557a002efa6e1585ee86f2c63918638
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 10 May 2018 08:19:03 -0400
Merge pull request #1932 from emersion/fix-layer-shell-exclusive
layer-shell: use usable_area when arranging non-exclusive layer surfaces
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
@@ -180,9 +180,6 @@ void arrange_layers(struct sway_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, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY],
&usable_area, false);
arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],