Add a format for client PID (client_pid) and server PID (pid). Diff for

client_pid from Thomas Adam.
This commit is contained in:
nicm
2015-06-14 10:07:44 +00:00
parent bbc0898060
commit 29c29e7717
5 changed files with 18 additions and 2 deletions

2
tmux.h
View File

@ -425,6 +425,7 @@ enum msgtype {
MSG_IDENTIFY_STDIN,
MSG_IDENTIFY_ENVIRON,
MSG_IDENTIFY_DONE,
MSG_IDENTIFY_CLIENTPID,
MSG_COMMAND = 200,
MSG_DETACH,
@ -1206,6 +1207,7 @@ RB_HEAD(status_out_tree, status_out);
struct client {
struct imsgbuf ibuf;
pid_t pid;
int fd;
struct event event;
int retval;