aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-10-16 10:24:15 -0400
committerDrew DeVault <sir@cmpwn.com>2019-10-16 10:24:15 -0400
commitd19f4f7bf866660d2199cb726bc3708eb42f98dd (patch)
treee87890c893c24b0d7e483c86ccd804a924996876 /sway/input
parent992726a823e3a31920aa0a774a7985b8b11a3536 (diff)
downloadsway-d19f4f7bf866660d2199cb726bc3708eb42f98dd.tar.xz
Updates per wlroots layer shell changes
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c2
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;
}
}