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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index e7b6e0c5..877a93c6 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -184,7 +184,6 @@ static void handle_seat_container_destroy(struct wl_listener *listener,
184 bool set_focus = 184 bool set_focus =
185 focus != NULL && 185 focus != NULL &&
186 (focus == con || container_has_child(con, focus)) && 186 (focus == con || container_has_child(con, focus)) &&
187 con->parent && con->parent->children->length > 1 &&
188 con->type != C_WORKSPACE; 187 con->type != C_WORKSPACE;
189 188
190 seat_container_destroy(seat_con); 189 seat_container_destroy(seat_con);
@@ -754,10 +753,6 @@ void seat_set_focus_warp(struct sway_seat *seat,
754 } 753 }
755 } 754 }
756 755
757 if (last_focus != NULL) {
758 cursor_send_pointer_motion(seat->cursor, 0, true);
759 }
760
761 seat->has_focus = (container != NULL); 756 seat->has_focus = (container != NULL);
762 757
763 update_debug_tree(); 758 update_debug_tree();