After unlock, Update activity time after recalculate_sizes() so that the

session attached flag is correct.
pull/390/head
nicm 2016-04-28 06:51:56 +00:00
parent fc70ac4d59
commit 36976ce5e6
1 changed files with 3 additions and 2 deletions

View File

@ -1090,12 +1090,13 @@ server_client_dispatch(struct imsg *imsg, void *arg)
if (gettimeofday(&c->activity_time, NULL) != 0)
fatal("gettimeofday failed");
if (s != NULL)
session_update_activity(s, &c->activity_time);
tty_start_tty(&c->tty);
server_redraw_client(c);
recalculate_sizes();
if (s != NULL)
session_update_activity(s, &c->activity_time);
break;
case MSG_SHELL:
if (datalen != 0)