summaryrefslogtreecommitdiffstats
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
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();