aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-26 11:01:26 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-26 11:01:26 -0700
commit1fa7a91bfb4ccbd42a535787f3bb208913b4a7e9 (patch)
tree067204ac10ae5f727c9bed71de9ad007aa80e023 /sway/commands.c
parentc4257055ebb74987b62833c0529ecfb9f9a1c47c (diff)
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;
}