mirror of
https://github.com/tmux/tmux.git
synced 2024-10-31 22:58:49 +00:00
Clear window alert flags after setting winlink alert flags, fixes problem
reported by Tommy Allen.
This commit is contained in:
parent
abea17afd9
commit
c83feeb6f8
2
alerts.c
2
alerts.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user