aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-03 22:40:40 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-03 22:40:40 +0000
commit0785f2872f0f41f15c1c67bb1f6bfb4e1baba180 (patch)
treee70da6caef1a14e083cc99e414fb25754bb46978 /tmux.h
parent5761ab6b555db9ec16e79722897c09685a03f9d5 (diff)
downloadrtmux-0785f2872f0f41f15c1c67bb1f6bfb4e1baba180.tar.gz
rtmux-0785f2872f0f41f15c1c67bb1f6bfb4e1baba180.tar.bz2
rtmux-0785f2872f0f41f15c1c67bb1f6bfb4e1baba180.zip
Add an activity time for clients, like for sessions, and change session and
client lookup to pick the most recently used rather than the most recently created - this is much more useful when used interactively and (because the activity time is set at creation) should have no effect on source-file. Based on a problem reported by Jan Johansson.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index bdbdf405..15bc04dc 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1064,6 +1064,7 @@ struct client {
struct imsgbuf ibuf;
struct timeval creation_time;
+ struct timeval activity_time;
struct environ environ;