Move alerts onto events rather than checking every loop.

This commit is contained in:
nicm
2015-08-29 08:30:54 +00:00
parent 5267ce8ff4
commit b5aaefc727
8 changed files with 150 additions and 73 deletions

View File

@ -519,6 +519,7 @@ session_set_current(struct session *s, struct winlink *wl)
winlink_stack_push(&s->lastw, s->curw);
s->curw = wl;
winlink_clear_flags(wl);
window_update_activity(wl->window);
return (0);
}