mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Add a define for flags meaning a client is not attached, and fix
unattached counter, reported by Thomas Sattler.
This commit is contained in:
@ -210,7 +210,7 @@ window_client_draw(__unused void *modedata, void *itemdata,
|
||||
struct window_pane *wp;
|
||||
u_int cx = s->cx, cy = s->cy, lines, at;
|
||||
|
||||
if (c->session == NULL || (c->flags & (CLIENT_DEAD|CLIENT_DETACHING)))
|
||||
if (c->session == NULL || (c->flags & CLIENT_UNATTACHEDFLAGS))
|
||||
return;
|
||||
wp = c->session->curw->window->active;
|
||||
|
||||
|
Reference in New Issue
Block a user