aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-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-select-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-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");