diff --git a/alerts.c b/alerts.c index 2dbdc40f..43108ed4 100644 --- a/alerts.c +++ b/alerts.c @@ -62,6 +62,8 @@ alerts_callback(__unused int fd, __unused short events, __unused void *arg) w->alerts_queued = 0; TAILQ_REMOVE(&alerts_list, w, alerts_entry); + + w->flags &= ~WINDOW_ALERTFLAGS; window_remove_ref(w); } alerts_fired = 0;