diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-01-01 01:12:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-01-01 01:12:09 +0000 |
commit | 04b32fa734d491e7ae9b915dc309858310d96185 (patch) | |
tree | 877284af9511a2c46a1f9a949ca6cbab3184a0be /tmux.h | |
parent | 91218f8714dafa83f49ece4435cc3d26a738a02e (diff) | |
download | rtmux-04b32fa734d491e7ae9b915dc309858310d96185.tar.gz rtmux-04b32fa734d491e7ae9b915dc309858310d96185.tar.bz2 rtmux-04b32fa734d491e7ae9b915dc309858310d96185.zip |
Don't reset the activity timer for unattached sessions every second,
this screws up the choice of most-recently-used. Instead, break the time
update into a little function and do it when the session is attached.
Pointed out by joshe@.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1980,6 +1980,7 @@ struct session *session_create(const char *, const char *, const char *, struct environ *, struct termios *, int, u_int, u_int, char **); void session_destroy(struct session *); +void session_update_activity(struct session *); struct session *session_next_session(struct session *); struct session *session_previous_session(struct session *); struct winlink *session_new(struct session *, |