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.
This commit is contained in:
Drew DeVault 2018-04-02 14:55:17 -04:00
parent 1f4a4a8641
commit d466cc117f

View file

@ -180,9 +180,6 @@ void arrange_layers(struct roots_output *output) {
} }
// Arrange non-exlusive surfaces from top->bottom // 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, arrange_layer(output->wlr_output,
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY],
&usable_area, false); &usable_area, false);