aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/desktop/layer_shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
index 02df6cbe..b1ee8ae3 100644
--- a/sway/desktop/layer_shell.c
+++ b/sway/desktop/layer_shell.c
@@ -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;