aboutsummaryrefslogtreecommitdiff
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2015-09-10 12:42:25 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2015-09-10 12:42:25 +0100
commiteb1084754c2dd08bbf05d1c09f52abdbf5b373d6 (patch)
treedbc147b51ff57147a4a8ee4e5a8139904d8cb5ac /cmd-switch-client.c
parent79e5b6290733567266a584d817fed48e1f2a52c0 (diff)
parent1fd756066cc0df12debb8f4e44dee46142c73348 (diff)
downloadrtmux-eb1084754c2dd08bbf05d1c09f52abdbf5b373d6.tar.gz
rtmux-eb1084754c2dd08bbf05d1c09f52abdbf5b373d6.tar.bz2
rtmux-eb1084754c2dd08bbf05d1c09f52abdbf5b373d6.zip
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index 8bc8a3c5..10171018 100644
--- a/cmd-switch-client.c
+++ b/cmd-switch-client.c
@@ -129,6 +129,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
c->session = s;
status_timer_start(c);
session_update_activity(s, NULL);
+ gettimeofday(&s->last_attached_time, NULL);
recalculate_sizes();
server_check_unattached();