mirror of
https://github.com/tmux/tmux.git
synced 2025-10-26 12:27:15 +00:00
SESSION_UNATTACHED flag is no longer necessary now we have an attached
count instead.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user