diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-10 08:19:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-10 08:19:03 -0400 |
commit | 3bab37858a2e85982aef3588064325405618c8e7 (patch) | |
tree | 04777a9d7ad8002a86744c472056a263a62ee045 | |
parent | Merge pull request #1950 from RyanDwyer/fix-font-height-reload (diff) | |
parent | layer-shell: use usable_area when arranging non-exclusive layer surfaces (diff) | |
download | sway-3bab37858a2e85982aef3588064325405618c8e7.tar.gz sway-3bab37858a2e85982aef3588064325405618c8e7.tar.zst sway-3bab37858a2e85982aef3588064325405618c8e7.zip |
Merge pull request #1932 from emersion/fix-layer-shell-exclusive
layer-shell: use usable_area when arranging non-exclusive layer surfaces
-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) { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | // Arrange non-exlusive surfaces from top->bottom | 182 | // Arrange non-exlusive surfaces from top->bottom |
183 | usable_area.x = usable_area.y = 0; | ||
184 | wlr_output_effective_resolution(output->wlr_output, | ||
185 | &usable_area.width, &usable_area.height); | ||
186 | arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], | 183 | arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], |
187 | &usable_area, false); | 184 | &usable_area, false); |
188 | arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], | 185 | arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], |