diff options
author | nicm <nicm> | 2017-08-08 09:21:20 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-08-08 09:21:20 +0000 |
commit | 31b06571aa565c347c89458a1b357c6cd5d289be (patch) | |
tree | 949d0e5fec13057adc9c33077d0426d0872b843e /cmd-select-pane.c | |
parent | 6f9b9655d7014f304b371574659fbca853a71091 (diff) | |
download | rtmux-31b06571aa565c347c89458a1b357c6cd5d289be.tar.gz rtmux-31b06571aa565c347c89458a1b357c6cd5d289be.tar.bz2 rtmux-31b06571aa565c347c89458a1b357c6cd5d289be.zip |
Hooks for after-select-pane and after-select-window.
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r-- | cmd-select-pane.c | 3 |
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); } |