diff options
author | nicm <nicm> | 2017-08-30 10:33:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-08-30 10:33:57 +0000 |
commit | 17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 (patch) | |
tree | c50c7f009ebdd188f6f3d9944190685dfc5e8402 /cmd-select-pane.c | |
parent | a7d1ee5433825c6e09877751a751aa0d9bd27b0d (diff) | |
download | rtmux-17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475.tar.gz rtmux-17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475.tar.bz2 rtmux-17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475.zip |
Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
Thomas Sattler.
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r-- | cmd-select-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c index 03e48513..21bda8e4 100644 --- a/cmd-select-pane.c +++ b/cmd-select-pane.c @@ -77,7 +77,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item) server_unzoom_window(w); window_redraw_active_switch(w, lastwp); if (window_set_active_pane(w, lastwp)) { - cmd_find_from_winlink(current, wl); + cmd_find_from_winlink(current, wl, 0); server_status_window(w); server_redraw_window_borders(w); } @@ -156,7 +156,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)) { - cmd_find_from_winlink_pane(current, wl, wp); + cmd_find_from_winlink_pane(current, wl, wp, 0); hooks_insert(s->hooks, item, current, "after-select-pane"); server_status_window(w); server_redraw_window_borders(w); |