aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-09-14 19:21:44 +0200
committerLibravatar emersion <contact@emersion.fr>2018-09-14 19:21:44 +0200
commit7699c5444c32289a22ce2c57d1daadabed87e7ac (patch)
tree74696e6dd2f405e8629061ee010e14e3d6cf0b37 /sway/input/seat.c
parentMerge pull request #2628 from RyanDwyer/remove-rejigger-assertion (diff)
downloadsway-7699c5444c32289a22ce2c57d1daadabed87e7ac.tar.gz
sway-7699c5444c32289a22ce2c57d1daadabed87e7ac.tar.zst
sway-7699c5444c32289a22ce2c57d1daadabed87e7ac.zip
Update for swaywm/wlroots#1243
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 8704f90f..ab5047b2 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -769,7 +769,7 @@ void seat_set_focus_surface(struct sway_seat *seat,
769} 769}
770 770
771void seat_set_focus_layer(struct sway_seat *seat, 771void seat_set_focus_layer(struct sway_seat *seat,
772 struct wlr_layer_surface *layer) { 772 struct wlr_layer_surface_v1 *layer) {
773 if (!layer && seat->focused_layer) { 773 if (!layer && seat->focused_layer) {
774 seat->focused_layer = NULL; 774 seat->focused_layer = NULL;
775 struct sway_node *previous = seat_get_focus_inactive(seat, &root->node); 775 struct sway_node *previous = seat_get_focus_inactive(seat, &root->node);