aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-04-27 20:09:07 +0100
committerThomas Adam <thomas@xteddy.org>2019-04-27 20:09:07 +0100
commit5489796737108cb9bba01f831421e531a50b946b (patch)
tree4f3c2727315adabaf5d932a1d81d4fad3e491752 /cmd-select-pane.c
parent85f09f9a4cf52b5af6b84464ea643c7c3686b0ad (diff)
parentdfb7bb683057d08303955c49073f4b475bd0e2d6 (diff)
downloadrtmux-5489796737108cb9bba01f831421e531a50b946b.tar.gz
rtmux-5489796737108cb9bba01f831421e531a50b946b.tar.bz2
rtmux-5489796737108cb9bba01f831421e531a50b946b.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r--cmd-select-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index af0f033b..89c6fb20 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -196,7 +196,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
window_redraw_active_switch(w, wp);
if (window_set_active_pane(w, wp, 1)) {
cmd_find_from_winlink_pane(current, wl, wp, 0);
- hooks_insert(s->hooks, item, current, "after-select-pane");
+ cmdq_insert_hook(s, item, current, "after-select-pane");
cmd_select_pane_redraw(w);
}