mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 17:24:18 +00:00 
			
		
		
		
	There is no reason not to fire focus events when a pane is in a mode,
GitHub issue 2372.
This commit is contained in:
		@@ -1590,10 +1590,6 @@ server_client_check_pane_focus(struct window_pane *wp)
 | 
			
		||||
	if (wp->window->active != wp)
 | 
			
		||||
		goto not_focused;
 | 
			
		||||
 | 
			
		||||
	/* If we're in a mode, we're not focused. */
 | 
			
		||||
	if (wp->screen != &wp->base)
 | 
			
		||||
		goto not_focused;
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * If our window is the current window in any focused clients with an
 | 
			
		||||
	 * attached session, we're focused.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user