aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-03 20:29:47 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-03 20:29:47 +0000
commit5289da29ba2fdf15413ec94fa7f2838469abccae (patch)
treeaa229c5c632273d18bd8c0f8729994f0c514327f /tmux.h
parentc95f1d1ff951fdfea9057952ecadb25884ba8daa (diff)
downloadrtmux-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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 20a1cbb9..62419913 100644
--- a/tmux.h
+++ b/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;