aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-08-30 12:03:59 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-08-30 12:03:59 +0100
commitb4c633cc40cd3d5963e24e6d560bc2c7f6553000 (patch)
tree3c94bc6f3d3b3924b12f791c2adb5a664ecdd93b /cmd-select-window.c
parent8f364053ca9242dafcddc304aed49aac80132ba3 (diff)
parent54c5070767d58a4fb0559eb9b3ee19caa72c4a73 (diff)
downloadrtmux-b4c633cc40cd3d5963e24e6d560bc2c7f6553000.tar.gz
rtmux-b4c633cc40cd3d5963e24e6d560bc2c7f6553000.tar.bz2
rtmux-b4c633cc40cd3d5963e24e6d560bc2c7f6553000.zip
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'cmd-select-window.c')
-rw-r--r--cmd-select-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-select-window.c b/cmd-select-window.c
index 27a66b04..f35b8202 100644
--- a/cmd-select-window.c
+++ b/cmd-select-window.c
@@ -117,7 +117,7 @@ cmd_select_window_exec(struct cmd *self, struct cmdq_item *item)
return (CMD_RETURN_ERROR);
}
}
- cmd_find_from_session(current, s);
+ cmd_find_from_session(current, s, 0);
server_redraw_session(s);
hooks_insert(s->hooks, item, current, "after-select-window");
} else {
@@ -131,10 +131,10 @@ cmd_select_window_exec(struct cmd *self, struct cmdq_item *item)
return (-1);
}
if (current->s == s)
- cmd_find_from_session(current, s);
+ cmd_find_from_session(current, s, 0);
server_redraw_session(s);
} else if (session_select(s, wl->idx) == 0) {
- cmd_find_from_session(current, s);
+ cmd_find_from_session(current, s, 0);
server_redraw_session(s);
}
hooks_insert(s->hooks, item, current, "after-select-window");