Pass flags into cmd_find_from_* to fix prefer-unattached, reported by

Thomas Sattler.
This commit is contained in:
nicm
2017-08-30 10:33:57 +00:00
parent a7d1ee5433
commit 17cf1b21c6
17 changed files with 71 additions and 69 deletions

View File

@ -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);
}
}