diff options
author | emersion <contact@emersion.fr> | 2018-05-07 17:24:33 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-10 12:19:38 +0100 |
commit | 3d29e73e72d772763a4a9e50ec4c857ef716f29a (patch) | |
tree | 168563dece0a3015e51891d7e169200eef997c92 /sway | |
parent | 94cf3f1b17c7e9a6f8d6d107ccb6ae2fc7c7079b (diff) |
layer-shell: use usable_area when arranging non-exclusive layer surfaces
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/layer_shell.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index c904880d..b60aa487 100644 --- 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], |