From 24350879cdfb9ef23dee0da409b621e9830d8baf Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 28 Jan 2020 08:06:11 +0000 Subject: Add a define for flags meaning a client is not attached, and fix unattached counter, reported by Thomas Sattler. --- tmux.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 093f17a4..d56c5fea 100644 --- a/tmux.h +++ b/tmux.h @@ -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| \ -- cgit