aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 4da8e937..b2243fe3 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1095,6 +1095,7 @@ void seat_set_focus_layer(struct sway_seat *seat,
1095 } else if (!layer || seat->focused_layer == layer) { 1095 } else if (!layer || seat->focused_layer == layer) {
1096 return; 1096 return;
1097 } 1097 }
1098 assert(layer->mapped);
1098 seat_set_focus_surface(seat, layer->surface, true); 1099 seat_set_focus_surface(seat, layer->surface, true);
1099 if (layer->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) { 1100 if (layer->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) {
1100 seat->focused_layer = layer; 1101 seat->focused_layer = layer;