1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 13:26:44 +02:00

Add options to enable terminal bell on certain events

Some terminals can mark the terminal window as urgent on bell.
This is useful for window managers that provide a shortcut to jump to an
urgent client.
This commit is contained in:
Marvin Ewald
2015-11-01 19:53:31 +01:00
parent 2ec180789b
commit d3effa26b5
5 changed files with 50 additions and 14 deletions

View File

@ -472,7 +472,7 @@ int play_notify_sound(Notification notif, uint64_t flags)
int rc = -1;
if (flags & NT_BEEP) beep();
else if (notif != silent) {
if (notif != silent) {
if ( !Control.poll_active || !Control.sounds[notif] )
return -1;