commit | 04b32fa734d491e7ae9b915dc309858310d96185 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Sat Jan 01 01:12:09 2011 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Sat Jan 01 01:12:09 2011 +0000 |
tree | 877284af9511a2c46a1f9a949ca6cbab3184a0be | |
parent | 91218f8714dafa83f49ece4435cc3d26a738a02e [diff] |
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@.