mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Don't return if in the current window since we may want to report a bell
(if bell-action any/current), just clear the flag so the status line doesn't show the bell.
This commit is contained in:
		@@ -109,10 +109,8 @@ server_window_check_bell(struct session *s, struct winlink *wl)
 | 
			
		||||
 | 
			
		||||
	if (!(w->flags & WINDOW_BELL) || wl->flags & WINLINK_BELL)
 | 
			
		||||
		return (0);
 | 
			
		||||
	if (s->curw == wl)
 | 
			
		||||
		return (0);
 | 
			
		||||
 | 
			
		||||
	wl->flags |= WINLINK_BELL;
 | 
			
		||||
	if (s->curw != wl)
 | 
			
		||||
		wl->flags |= WINLINK_BELL;
 | 
			
		||||
 | 
			
		||||
	action = options_get_number(&s->options, "bell-action");
 | 
			
		||||
	switch (action) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user