diff options
Diffstat (limited to 'cmd-move-window.c')
-rw-r--r-- | cmd-move-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-move-window.c b/cmd-move-window.c index 4c92556a..175e6576 100644 --- a/cmd-move-window.c +++ b/cmd-move-window.c @@ -55,7 +55,7 @@ cmd_move_window_exec(struct cmd *self, struct cmd_ctx *ctx) kflag = data->chflags & CMD_CHFLAG('k'); dflag = data->chflags & CMD_CHFLAG('d'); - if (server_link_window(wl, dst, idx, kflag, !dflag, &cause) != 0) { + if (server_link_window(src, wl, dst, idx, kflag, !dflag, &cause) != 0) { ctx->error(ctx, "can't move window: %s", cause); xfree(cause); return (-1); |