Do not put the window on the alerts queue and add a reference unless the alert is enabled and we are actually going to add the alerts event.
Do not put the window on the alerts queue and add a reference unless the
alert is enabled and we are actually going to add the alerts event.

klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux