mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Update session activity on focus event, from tafryn at gmail dot com.
This commit is contained in:
		@@ -1369,6 +1369,7 @@ focused:
 | 
				
			|||||||
		if (wp->base.mode & MODE_FOCUSON)
 | 
							if (wp->base.mode & MODE_FOCUSON)
 | 
				
			||||||
			bufferevent_write(wp->event, "\033[I", 3);
 | 
								bufferevent_write(wp->event, "\033[I", 3);
 | 
				
			||||||
		notify_pane("pane-focus-in", wp);
 | 
							notify_pane("pane-focus-in", wp);
 | 
				
			||||||
 | 
							session_update_activity(c->session, NULL);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	wp->flags |= PANE_FOCUSED;
 | 
						wp->flags |= PANE_FOCUSED;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user