Add a define for flags meaning a client is not attached, and fix

unattached counter, reported by Thomas Sattler.
This commit is contained in:
nicm
2020-01-28 08:06:11 +00:00
parent 2c38e01b54
commit 24350879cd
4 changed files with 10 additions and 5 deletions

4
tmux.h
View File

@ -1582,6 +1582,10 @@ struct client {
CLIENT_REDRAWSTATUSALWAYS| \
CLIENT_REDRAWBORDERS| \
CLIENT_REDRAWOVERLAY)
#define CLIENT_UNATTACHEDFLAGS \
(CLIENT_DEAD| \
CLIENT_SUSPENDED| \
CLIENT_DETACHING)
#define CLIENT_NOSIZEFLAGS \
(CLIENT_DEAD| \
CLIENT_SUSPENDED| \