aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-04 00:26:31 -0400
committerGitHub <noreply@github.com>2018-04-04 00:26:31 -0400
commitdee71871d7a37cfa1e53f3f1f60e6e93d21beda4 (patch)
tree1565ba1fede2da35b170353f895c34205216dc38 /sway/input/seat.c
parent3ea7d2d10ed0d6d68e5bf3dd4efac765eb2b0212 (diff)
parent62c79ef4510d4687e35deab177cf5114a138261f (diff)
Merge pull request #1702 from acrisci/split-containers2
properly close container containers
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 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,
if (last_ws) {
ipc_event_workspace(last_ws, container, "focus");
if (last_ws->children->length == 0) {
- container_workspace_destroy(last_ws);
+ container_destroy(last_ws);
}
}
struct sway_container *last_output = last_focus;