mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
After unlock, Update activity time after recalculate_sizes() so that the
session attached flag is correct.
This commit is contained in:
@ -1090,12 +1090,13 @@ server_client_dispatch(struct imsg *imsg, void *arg)
|
|||||||
|
|
||||||
if (gettimeofday(&c->activity_time, NULL) != 0)
|
if (gettimeofday(&c->activity_time, NULL) != 0)
|
||||||
fatal("gettimeofday failed");
|
fatal("gettimeofday failed");
|
||||||
if (s != NULL)
|
|
||||||
session_update_activity(s, &c->activity_time);
|
|
||||||
|
|
||||||
tty_start_tty(&c->tty);
|
tty_start_tty(&c->tty);
|
||||||
server_redraw_client(c);
|
server_redraw_client(c);
|
||||||
recalculate_sizes();
|
recalculate_sizes();
|
||||||
|
|
||||||
|
if (s != NULL)
|
||||||
|
session_update_activity(s, &c->activity_time);
|
||||||
break;
|
break;
|
||||||
case MSG_SHELL:
|
case MSG_SHELL:
|
||||||
if (datalen != 0)
|
if (datalen != 0)
|
||||||
|
Reference in New Issue
Block a user