From bd2896b65e8fd205e3207ed70558d9ebfd106909 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 18 Aug 2018 20:08:52 +0000 Subject: SESSION_UNATTACHED flag is no longer necessary now we have an attached count instead. --- server-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server-client.c') diff --git a/server-client.c b/server-client.c index 38226758..a83073dc 100644 --- a/server-client.c +++ b/server-client.c @@ -1173,7 +1173,7 @@ server_client_check_focus(struct window_pane *wp) TAILQ_FOREACH(c, &clients, entry) { if (c->session == NULL || !(c->flags & CLIENT_FOCUSED)) continue; - if (c->session->flags & SESSION_UNATTACHED) + if (c->session->attached == 0) continue; if (c->session->curw->window == wp->window) -- cgit