|
|
@ -88,8 +88,7 @@ static void arrange_layer(struct sway_output *output, struct wl_list *list,
|
|
|
|
wl_list_for_each(sway_layer, list, link) {
|
|
|
|
wl_list_for_each(sway_layer, list, link) {
|
|
|
|
struct wlr_layer_surface_v1 *layer = sway_layer->layer_surface;
|
|
|
|
struct wlr_layer_surface_v1 *layer = sway_layer->layer_surface;
|
|
|
|
struct wlr_layer_surface_v1_state *state = &layer->current;
|
|
|
|
struct wlr_layer_surface_v1_state *state = &layer->current;
|
|
|
|
if (!layer->mapped ||
|
|
|
|
if (exclusive != (state->exclusive_zone > 0)) {
|
|
|
|
exclusive != (state->exclusive_zone > 0)) {
|
|
|
|
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
struct wlr_box bounds;
|
|
|
|
struct wlr_box bounds;
|
|
|
|