mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Change session and client activity and creation time members to have more
meaningful names. Also, remove the code to try and update the session activity time for the command client when a command message is received as is pointless because it des not have a session.
This commit is contained in:
8
tmux.h
8
tmux.h
@ -922,8 +922,9 @@ TAILQ_HEAD(session_groups, session_group);
|
||||
|
||||
struct session {
|
||||
char *name;
|
||||
struct timeval tv;
|
||||
time_t activity;
|
||||
|
||||
struct timeval creation_time;
|
||||
struct timeval activity_time;
|
||||
|
||||
u_int sx;
|
||||
u_int sy;
|
||||
@ -1061,7 +1062,8 @@ struct mouse_event {
|
||||
/* Client connection. */
|
||||
struct client {
|
||||
struct imsgbuf ibuf;
|
||||
struct timeval tv;
|
||||
|
||||
struct timeval creation_time;
|
||||
|
||||
struct environ environ;
|
||||
|
||||
|
Reference in New Issue
Block a user