move_container_to fixup

This commit is contained in:
taiyu 2015-08-26 11:01:26 -07:00
parent c4257055eb
commit 1fa7a91bfb
7 changed files with 45 additions and 19 deletions

View file

@ -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;
}