mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Redrawing status is needed after changing window flags or title does not
update if status line is off, GitHub issue 1191.
This commit is contained in:
		
							
								
								
									
										12
									
								
								alerts.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								alerts.c
									
									
									
									
									
								
							| @@ -200,8 +200,10 @@ alerts_check_bell(struct window *w) | |||||||
| 		 * not check WINLINK_BELL). | 		 * not check WINLINK_BELL). | ||||||
| 		 */ | 		 */ | ||||||
| 		s = wl->session; | 		s = wl->session; | ||||||
| 		if (s->curw != wl) | 		if (s->curw != wl) { | ||||||
| 			wl->flags |= WINLINK_BELL; | 			wl->flags |= WINLINK_BELL; | ||||||
|  | 			server_status_session(s); | ||||||
|  | 		} | ||||||
| 		if (!alerts_action_applies(wl, "bell-action")) | 		if (!alerts_action_applies(wl, "bell-action")) | ||||||
| 			continue; | 			continue; | ||||||
| 		notify_winlink("alert-bell", wl); | 		notify_winlink("alert-bell", wl); | ||||||
| @@ -234,8 +236,10 @@ alerts_check_activity(struct window *w) | |||||||
| 		if (wl->flags & WINLINK_ACTIVITY) | 		if (wl->flags & WINLINK_ACTIVITY) | ||||||
| 			continue; | 			continue; | ||||||
| 		s = wl->session; | 		s = wl->session; | ||||||
| 		if (s->curw != wl) | 		if (s->curw != wl) { | ||||||
| 			wl->flags |= WINLINK_ACTIVITY; | 			wl->flags |= WINLINK_ACTIVITY; | ||||||
|  | 			server_status_session(s); | ||||||
|  | 		} | ||||||
| 		if (!alerts_action_applies(wl, "activity-action")) | 		if (!alerts_action_applies(wl, "activity-action")) | ||||||
| 			continue; | 			continue; | ||||||
| 		notify_winlink("alert-activity", wl); | 		notify_winlink("alert-activity", wl); | ||||||
| @@ -268,8 +272,10 @@ alerts_check_silence(struct window *w) | |||||||
| 		if (wl->flags & WINLINK_SILENCE) | 		if (wl->flags & WINLINK_SILENCE) | ||||||
| 			continue; | 			continue; | ||||||
| 		s = wl->session; | 		s = wl->session; | ||||||
| 		if (s->curw != wl) | 		if (s->curw != wl) { | ||||||
| 			wl->flags |= WINLINK_SILENCE; | 			wl->flags |= WINLINK_SILENCE; | ||||||
|  | 			server_status_session(s); | ||||||
|  | 		} | ||||||
| 		if (!alerts_action_applies(wl, "silence-action")) | 		if (!alerts_action_applies(wl, "silence-action")) | ||||||
| 			continue; | 			continue; | ||||||
| 		notify_winlink("alert-silence", wl); | 		notify_winlink("alert-silence", wl); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm