diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-09-21 12:01:11 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-09-21 12:01:11 +0100 |
commit | d6d05883adb414cc3c615ef65aebc323b3b37eef (patch) | |
tree | b2f1b0c325f4b9ea1da1c2c2c0c80cd52fad1e25 | |
parent | 983357603a8c897e357668a18be7f00c0b6156ed (diff) | |
parent | d5f223a3fec0b0ccf69f17e3515a20c79ec28e6e (diff) | |
download | rtmux-d6d05883adb414cc3c615ef65aebc323b3b37eef.tar.gz rtmux-d6d05883adb414cc3c615ef65aebc323b3b37eef.tar.bz2 rtmux-d6d05883adb414cc3c615ef65aebc323b3b37eef.zip |
Merge branch 'obsd-master'
-rw-r--r-- | alerts.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -126,6 +126,9 @@ alerts_reset(struct window *w) void alerts_queue(struct window *w, int flags) { + if (w->flags & WINDOW_ACTIVITY) + alerts_reset(w); + if (!event_initialized(&w->alerts_timer)) evtimer_set(&w->alerts_timer, alerts_timer, w); @@ -139,9 +142,6 @@ alerts_queue(struct window *w, int flags) event_once(-1, EV_TIMEOUT, alerts_callback, NULL, NULL); alerts_fired = 1; } - - if (flags & WINDOW_ACTIVITY) - alerts_reset(w); } int |