aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-01-28 08:06:11 +0000
committernicm <nicm>2020-01-28 08:06:11 +0000
commit24350879cdfb9ef23dee0da409b621e9830d8baf (patch)
tree827c222380b51867c7a13102840377853f364b0a /tmux.h
parent2c38e01b548553aa162f9f126147b5ed64fd1700 (diff)
downloadrtmux-24350879cdfb9ef23dee0da409b621e9830d8baf.tar.gz
rtmux-24350879cdfb9ef23dee0da409b621e9830d8baf.tar.bz2
rtmux-24350879cdfb9ef23dee0da409b621e9830d8baf.zip
Add a define for flags meaning a client is not attached, and fix
unattached counter, reported by Thomas Sattler.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
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| \