mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 15:26:58 +00:00
Add a suspend helper function, and do not allow detaching or suspending
while already doing so.
This commit is contained in:
3
tmux.h
3
tmux.h
@ -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);
|
||||
|
Reference in New Issue
Block a user