aboutsummaryrefslogtreecommitdiff
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-08-30 12:04:09 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-08-30 12:04:09 +0100
commit07c679b52d18f198a60da2bd5b9b743bac55680f (patch)
tree6e6db084991d889e61e0a5d53db1f8740a666ce6 /cmd-new-window.c
parent2e4e521629a8e23502551cfe13ea327e1971d1e2 (diff)
parentb4c633cc40cd3d5963e24e6d560bc2c7f6553000 (diff)
downloadrtmux-07c679b52d18f198a60da2bd5b9b743bac55680f.tar.gz
rtmux-07c679b52d18f198a60da2bd5b9b743bac55680f.tar.bz2
rtmux-07c679b52d18f198a60da2bd5b9b743bac55680f.zip
Merge branch 'master' into 2.6-rc
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index 7cb83f58..4baf8f0c 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -133,7 +133,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
}
if (!detached) {
session_select(s, wl->idx);
- cmd_find_from_winlink(current, wl);
+ cmd_find_from_winlink(current, wl, 0);
server_redraw_session_group(s);
} else
server_status_session_group(s);
@@ -146,7 +146,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
free(cp);
}
- cmd_find_from_winlink(&fs, wl);
+ cmd_find_from_winlink(&fs, wl, 0);
hooks_insert(s->hooks, item, &fs, "after-new-window");
free(to_free);