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) static void execnotify( /*@null@ */ const char *notifycmd)
{ {
if (notifycmd != NULL) { /* need to call notify() ? */ if (notifycmd != NULL) { /* need to call notify() ? */
if (!strcasecmp(notifycmd, "beep")) { /* Internal keyword ? */ if (!strcasecmp(notifycmd, "true")) {
/* Yes, bell */
XBell(display, 100);
} else if (!strcasecmp(notifycmd, "true")) {
/* Yes, nothing */ /* Yes, nothing */
} else { } else {
/* Else call external notifyer, ignoring the pid */ /* Else call external notifyer, ignoring the pid */