Clear window alert flags after setting winlink alert flags, fixes problem

reported by Tommy Allen.
This commit is contained in:
nicm 2016-11-01 09:07:18 +00:00
parent abea17afd9
commit c83feeb6f8

View File

@ -62,6 +62,8 @@ alerts_callback(__unused int fd, __unused short events, __unused void *arg)
w->alerts_queued = 0; w->alerts_queued = 0;
TAILQ_REMOVE(&alerts_list, w, alerts_entry); TAILQ_REMOVE(&alerts_list, w, alerts_entry);
w->flags &= ~WINDOW_ALERTFLAGS;
window_remove_ref(w); window_remove_ref(w);
} }
alerts_fired = 0; alerts_fired = 0;