From 17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 30 Aug 2017 10:33:57 +0000 Subject: Pass flags into cmd_find_from_* to fix prefer-unattached, reported by Thomas Sattler. --- cmd-switch-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-switch-client.c') 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); } } -- cgit v1.2.3