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

fix a few notification issues

This commit is contained in:
Jfreegman
2014-07-22 14:38:32 -04:00
parent ac01d6d316
commit a047cead05
5 changed files with 24 additions and 8 deletions

View File

@ -300,8 +300,10 @@ static int m_play_sound(Notification notif, uint64_t flags)
{
#ifdef _SOUND_NOTIFY
return play_notify_sound(notif, flags);
#else
beep();
#else
if (notif != silent)
beep();
return -1;
#endif /* _SOUND_NOTIFY */