aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-26 14:07:17 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-26 14:07:17 -0400
commit1e54490b71a7ccacb0d25dd1e2792125b9d71c06 (patch)
tree067204ac10ae5f727c9bed71de9ad007aa80e023 /sway/commands.c
parentc4257055ebb74987b62833c0529ecfb9f9a1c47c (diff)
parent1fa7a91bfb4ccbd42a535787f3bb208913b4a7e9 (diff)
Merge pull request #136 from taiyu-len/master
move_container_to fixup
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
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;
}