aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-10-16 10:24:15 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-10-16 10:24:15 -0400
commitd19f4f7bf866660d2199cb726bc3708eb42f98dd (patch)
treee87890c893c24b0d7e483c86ccd804a924996876 /sway/input/seat.c
parentGrimshot: a helper for screenshots within sway (diff)
downloadsway-d19f4f7bf866660d2199cb726bc3708eb42f98dd.tar.gz
sway-d19f4f7bf866660d2199cb726bc3708eb42f98dd.tar.zst
sway-d19f4f7bf866660d2199cb726bc3708eb42f98dd.zip
Updates per wlroots layer shell changes
Diffstat (limited to 'sway/input/seat.c')
-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,
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}