OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Nicholas Marriott (nicmcvs.openbsd.org)
Date: Fri Dec 31 2010 - 19:12:10 CST


CVSROOT: /cvs
Module name: src
Changes by: nicmcvs.openbsd.org 2010/12/31 18:12:10

Modified files:
        usr.bin/tmux : cmd-attach-session.c cmd-new-session.c
                         cmd-switch-client.c server-client.c server-fn.c
                         server.c session.c tmux.h

Log message:
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.