mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Allow multiple bells even if there is an existing bell (but not activity
or silence), from Brad Town.
This commit is contained in:
		
							
								
								
									
										6
									
								
								alerts.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								alerts.c
									
									
									
									
									
								
							@@ -195,8 +195,10 @@ alerts_check_bell(struct window *w)
 | 
			
		||||
		wl->session->flags &= ~SESSION_ALERTED;
 | 
			
		||||
 | 
			
		||||
	TAILQ_FOREACH(wl, &w->winlinks, wentry) {
 | 
			
		||||
		if (wl->flags & WINLINK_BELL)
 | 
			
		||||
			continue;
 | 
			
		||||
		/*
 | 
			
		||||
		 * Bells are allowed even if there is an existing bell (so do
 | 
			
		||||
		 * not check WINLINK_BELL).
 | 
			
		||||
		 */
 | 
			
		||||
		s = wl->session;
 | 
			
		||||
		if (s->curw != wl)
 | 
			
		||||
			wl->flags |= WINLINK_BELL;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user