diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-04 22:46:25 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-04 22:46:25 +0000 |
commit | 5be38f2b3afbbf8985bad78a9d773730c7b8d009 (patch) | |
tree | 68ac4d0394aec6df87a70f8c0d06b826ca9707d0 /tmux.h | |
parent | b7fc4f37603f01efa6984ca510d3378d7eae72a1 (diff) | |
download | rtmux-5be38f2b3afbbf8985bad78a9d773730c7b8d009.tar.gz rtmux-5be38f2b3afbbf8985bad78a9d773730c7b8d009.tar.bz2 rtmux-5be38f2b3afbbf8985bad78a9d773730c7b8d009.zip |
Sync OpenBSD patchset 485:
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.495 2009-11-04 22:44:01 tcunha Exp $ */ +/* $Id: tmux.h,v 1.496 2009-11-04 22:46:25 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1062,6 +1062,7 @@ struct client { struct imsgbuf ibuf; struct timeval creation_time; + struct timeval activity_time; struct environ environ; |