diff options
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index ebd40343..7b0fe67d 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1120,7 +1120,7 @@ void seat_set_focus_layer(struct sway_seat *seat, } assert(layer->mapped); seat_set_focus_surface(seat, layer->surface, true); - if (layer->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) { + if (layer->current.layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) { seat->focused_layer = layer; } } |