diff options
Diffstat (limited to 'sway/input/seat.c')
-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, | |||
1120 | } | 1120 | } |
1121 | assert(layer->mapped); | 1121 | assert(layer->mapped); |
1122 | seat_set_focus_surface(seat, layer->surface, true); | 1122 | seat_set_focus_surface(seat, layer->surface, true); |
1123 | if (layer->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) { | 1123 | if (layer->current.layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) { |
1124 | seat->focused_layer = layer; | 1124 | seat->focused_layer = layer; |
1125 | } | 1125 | } |
1126 | } | 1126 | } |