From c83feeb6f800a5cefbd9c878011a149fb85f0c8c Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 1 Nov 2016 09:07:18 +0000 Subject: [PATCH] Clear window alert flags after setting winlink alert flags, fixes problem reported by Tommy Allen. --- alerts.c | 2 ++ 1 file changed, 2 insertions(+) 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;