diff options
author | nicm <nicm> | 2017-04-19 14:00:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-19 14:00:28 +0000 |
commit | 53fde21bb85c37c35854069ec95377ecc86750ee (patch) | |
tree | c99c254393c6330a16d0337bd65403d10cb94cf2 /tmux.h | |
parent | 689f4bfac22597e7fd2090373bdffe4df1ed5a34 (diff) | |
download | rtmux-53fde21bb85c37c35854069ec95377ecc86750ee.tar.gz rtmux-53fde21bb85c37c35854069ec95377ecc86750ee.tar.bz2 rtmux-53fde21bb85c37c35854069ec95377ecc86750ee.zip |
Add a suspend helper function, and do not allow detaching or suspending
while already doing so.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1338,7 +1338,7 @@ struct client { #define CLIENT_DEAD 0x200 #define CLIENT_BORDERS 0x400 #define CLIENT_READONLY 0x800 -/* 0x1000 unused */ +#define CLIENT_DETACHING 0x1000 #define CLIENT_CONTROL 0x2000 #define CLIENT_CONTROLCONTROL 0x4000 #define CLIENT_FOCUSED 0x8000 @@ -1838,6 +1838,7 @@ void server_client_create(int); int server_client_open(struct client *, char **); void server_client_unref(struct client *); void server_client_lost(struct client *); +void server_client_suspend(struct client *); void server_client_detach(struct client *, enum msgtype); void server_client_exec(struct client *, const char *); void server_client_loop(void); |