wmbiff: Remove 'beep' option for notification

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
Carlos R. Mafra 2011-03-21 16:14:36 +01:00
parent 2773b5a718
commit b4d739d5a5

View file

@ -739,10 +739,7 @@ static void blitMsgCounters(unsigned int i)
static void execnotify( /*@null@ */ const char *notifycmd)
{
if (notifycmd != NULL) { /* need to call notify() ? */
if (!strcasecmp(notifycmd, "beep")) { /* Internal keyword ? */
/* Yes, bell */
XBell(display, 100);
} else if (!strcasecmp(notifycmd, "true")) {
if (!strcasecmp(notifycmd, "true")) {
/* Yes, nothing */
} else {
/* Else call external notifyer, ignoring the pid */