summaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index a1b1caa8..1fd204d4 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -92,7 +92,6 @@ static void handle_seat_container_destroy(struct wl_listener *listener,
92 struct sway_container *parent = con->parent; 92 struct sway_container *parent = con->parent;
93 struct sway_container *focus = sway_seat_get_focus(seat); 93 struct sway_container *focus = sway_seat_get_focus(seat);
94 94
95 // TODO handle workspace switch in the seat?
96 bool set_focus = 95 bool set_focus =
97 focus != NULL && 96 focus != NULL &&
98 (focus == con || container_has_child(con, focus)) && 97 (focus == con || container_has_child(con, focus)) &&