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-attach-session.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-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 81ed4a87..38d9f8a2 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -90,9 +90,9 @@ cmd_attach_session(struct cmdq_item *item, const char *tflag, int dflag, window_set_active_pane(wp->window, wp); session_set_current(s, wl); if (wp != NULL) - cmd_find_from_winlink_pane(current, wl, wp); + cmd_find_from_winlink_pane(current, wl, wp, 0); else - cmd_find_from_winlink(current, wl); + cmd_find_from_winlink(current, wl, 0); } if (cflag != NULL) { |