aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
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 36e1d232..5af9e88a 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -779,7 +779,7 @@ void seat_set_focus_layer(struct sway_seat *seat,
779 wlr_log(WLR_DEBUG, "Returning focus to %p %s '%s'", previous, 779 wlr_log(WLR_DEBUG, "Returning focus to %p %s '%s'", previous,
780 container_type_to_str(previous->type), previous->name); 780 container_type_to_str(previous->type), previous->name);
781 // Hack to get seat to re-focus the return value of get_focus 781 // Hack to get seat to re-focus the return value of get_focus
782 seat_set_focus(seat, previous->parent); 782 seat_set_focus(seat, NULL);
783 seat_set_focus(seat, previous); 783 seat_set_focus(seat, previous);
784 } 784 }
785 return; 785 return;