aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-08-08 12:01:15 +0100
committerThomas Adam <thomas@xteddy.org>2017-08-08 12:01:15 +0100
commit4bb5bb9450e7890e42ec807c9236a455f6046df7 (patch)
tree3b63fda2b600dbd43620896c92c92b20fceca0de /cmd-select-pane.c
parente7b1e05bbda29c71963e7f9ba8f9f656eb8928ec (diff)
parent31b06571aa565c347c89458a1b357c6cd5d289be (diff)
downloadrtmux-4bb5bb9450e7890e42ec807c9236a455f6046df7.tar.gz
rtmux-4bb5bb9450e7890e42ec807c9236a455f6046df7.tar.bz2
rtmux-4bb5bb9450e7890e42ec807c9236a455f6046df7.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r--cmd-select-pane.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index 86152bed..03e48513 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -156,7 +156,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
}
window_redraw_active_switch(w, wp);
if (window_set_active_pane(w, wp)) {
- cmd_find_from_winlink(current, wl);
+ cmd_find_from_winlink_pane(current, wl, wp);
+ hooks_insert(s->hooks, item, current, "after-select-pane");
server_status_window(w);
server_redraw_window_borders(w);
}