wmbiff: Remove 'beep' option for notification
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
		
							parent
							
								
									2773b5a718
								
							
						
					
					
						commit
						b4d739d5a5
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue