mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Check alerts when session changes, from Patrick Palka.
This commit is contained in:
parent
01831da5f5
commit
d7e11d0af7
2 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
server_check_unattached();
|
||||
server_redraw_client(c);
|
||||
s->curw->flags &= ~WINLINK_ALERTFLAGS;
|
||||
alerts_check_session(s);
|
||||
|
||||
return (CMD_RETURN_NORMAL);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -389,6 +389,7 @@ server_destroy_session(struct session *s)
|
|||
session_update_activity(s_new, NULL);
|
||||
gettimeofday(&s_new->last_attached_time, NULL);
|
||||
server_redraw_client(c);
|
||||
alerts_check_session(s_new);
|
||||
}
|
||||
}
|
||||
recalculate_sizes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue