From 1fa7a91bfb4ccbd42a535787f3bb208913b4a7e9 Mon Sep 17 00:00:00 2001 From: taiyu Date: Wed, 26 Aug 2015 11:01:26 -0700 Subject: move_container_to fixup --- sway/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands.c') diff --git a/sway/commands.c b/sway/commands.c index 74c19b5b..2bdfeff6 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -380,7 +380,7 @@ static bool cmd_move(struct sway_config *config, int argc, char **argv) { if (ws == NULL) { ws = workspace_create(ws_name); } - move_container_to(view, ws); + move_container_to(view, get_focused_container(ws)); } else { return false; } -- cgit v1.2.3