aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 14:15:40 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 14:15:40 -0400
commit357a4401fa117416f3182a5f91d27b52b114f3ee (patch)
tree8ffb68c96ac327aa2b37ec40bbf982022e934365 /sway/input/seat.c
parentMerge branch 'wlroots' into split-containers (diff)
downloadsway-357a4401fa117416f3182a5f91d27b52b114f3ee.tar.gz
sway-357a4401fa117416f3182a5f91d27b52b114f3ee.tar.zst
sway-357a4401fa117416f3182a5f91d27b52b114f3ee.zip
address feedback
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)) &&