diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index cf519a82..4a99e9eb 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -384,7 +384,7 @@ void seat_set_focus_warp(struct sway_seat *seat, | |||
384 | if (last_ws) { | 384 | if (last_ws) { |
385 | ipc_event_workspace(last_ws, container, "focus"); | 385 | ipc_event_workspace(last_ws, container, "focus"); |
386 | if (last_ws->children->length == 0) { | 386 | if (last_ws->children->length == 0) { |
387 | container_workspace_destroy(last_ws); | 387 | container_destroy(last_ws); |
388 | } | 388 | } |
389 | } | 389 | } |
390 | struct sway_container *last_output = last_focus; | 390 | struct sway_container *last_output = last_focus; |