diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-03 20:29:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-03 20:29:47 +0000 |
commit | 5289da29ba2fdf15413ec94fa7f2838469abccae (patch) | |
tree | aa229c5c632273d18bd8c0f8729994f0c514327f /tmux.h | |
parent | c95f1d1ff951fdfea9057952ecadb25884ba8daa (diff) | |
download | rtmux-5289da29ba2fdf15413ec94fa7f2838469abccae.tar.gz rtmux-5289da29ba2fdf15413ec94fa7f2838469abccae.tar.bz2 rtmux-5289da29ba2fdf15413ec94fa7f2838469abccae.zip |
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; |