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-switch-client.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-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index a24f0276..180635df 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -116,7 +116,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) if (wp != NULL) window_set_active_pane(wp->window, wp); session_set_current(s, wl); - cmd_find_from_session(&item->shared->current, s); + cmd_find_from_session(&item->shared->current, s, 0); } } |