aboutsummaryrefslogtreecommitdiff
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
commit57eb334d5b989642c84b974908c43c729983d1b8 (patch)
tree5600670a3688454d211b34ff8d45419bcd06d94c /cmd-new-window.c
parent5f904aa35002246ee1005e3849455ccbdc321781 (diff)
parentee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (diff)
downloadrtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.gz
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.bz2
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index d8c576af..e50b234a 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -126,7 +126,7 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx)
template = NEW_WINDOW_TEMPLATE;
ft = format_create();
- if ((c = cmd_find_client(ctx, NULL)) != NULL)
+ if ((c = cmd_find_client(ctx, NULL, 1)) != NULL)
format_client(ft, c);
format_session(ft, s);
format_winlink(ft, s, wl);