mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Need to check for pane redrawing even if just the window flag is set
(the pane flag may not have been previously set to avoid looping the windows).
This commit is contained in:
		@@ -1726,11 +1726,15 @@ server_client_check_redraw(struct client *c)
 | 
			
		||||
			log_debug("redraw timer started");
 | 
			
		||||
			evtimer_add(&ev, &tv);
 | 
			
		||||
		}
 | 
			
		||||
		if (new_flags & CLIENT_REDRAWPANES) {
 | 
			
		||||
 | 
			
		||||
		if (~c->flags & CLIENT_REDRAWWINDOW) {
 | 
			
		||||
			c->redraw_panes = 0;
 | 
			
		||||
			TAILQ_FOREACH(wp, &w->panes, entry) {
 | 
			
		||||
				if (wp->flags & PANE_REDRAW)
 | 
			
		||||
				if (wp->flags & PANE_REDRAW) {
 | 
			
		||||
					log_debug("%s: pane %%%u needs redraw",
 | 
			
		||||
					    c->name, wp->id);
 | 
			
		||||
					c->redraw_panes |= (1 << bit);
 | 
			
		||||
				}
 | 
			
		||||
				if (++bit == 64) {
 | 
			
		||||
					/*
 | 
			
		||||
					 * If more that 64 panes, give up and
 | 
			
		||||
@@ -1741,6 +1745,8 @@ server_client_check_redraw(struct client *c)
 | 
			
		||||
					break;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			if (c->redraw_panes != 0)
 | 
			
		||||
				c->flags |= CLIENT_REDRAWPANES;
 | 
			
		||||
		}
 | 
			
		||||
		c->flags |= new_flags;
 | 
			
		||||
		return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user