aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-04 22:42:31 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-04 22:42:31 +0000
commitbbad75fb6c7344528c7f631c2daf09a87bab9744 (patch)
tree48af262594e7f29771a57f1a40b20702821f4b57 /tmux.h
parenta090b78e8d5bf43a92d52e8e24b6566ff542c88e (diff)
downloadrtmux-bbad75fb6c7344528c7f631c2daf09a87bab9744.tar.gz
rtmux-bbad75fb6c7344528c7f631c2daf09a87bab9744.tar.bz2
rtmux-bbad75fb6c7344528c7f631c2daf09a87bab9744.zip
Sync OpenBSD patchset 483:
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.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 52fd2a65..dcda730b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.493 2009-11-04 22:39:20 tcunha Exp $ */
+/* $Id: tmux.h,v 1.494 2009-11-04 22:42:31 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -920,8 +920,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;
@@ -1059,7 +1060,8 @@ struct mouse_event {
/* Client connection. */
struct client {
struct imsgbuf ibuf;
- struct timeval tv;
+
+ struct timeval creation_time;
struct environ environ;