mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
Revert "Don't apply exclusive zones of unmapped layer-shell surfaces"
This reverts commit e1eda8a09c
.
This commit is contained in:
parent
e1eda8a09c
commit
e0f8235fbf
|
@ -88,8 +88,7 @@ static void arrange_layer(struct sway_output *output, struct wl_list *list,
|
|||
wl_list_for_each(sway_layer, list, link) {
|
||||
struct wlr_layer_surface_v1 *layer = sway_layer->layer_surface;
|
||||
struct wlr_layer_surface_v1_state *state = &layer->current;
|
||||
if (!layer->mapped ||
|
||||
exclusive != (state->exclusive_zone > 0)) {
|
||||
if (exclusive != (state->exclusive_zone > 0)) {
|
||||
continue;
|
||||
}
|
||||
struct wlr_box bounds;
|
||||
|
|
Loading…
Reference in a new issue