mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Always push a focus event when the application turns it on, prompted by
discussion with Hayaki Saito a while ago.
This commit is contained in:
		
				
					committed by
					
						
						Thomas Adam
					
				
			
			
				
	
			
			
			
						parent
						
							a0172a6ae5
						
					
				
				
					commit
					777be296ee
				
			
							
								
								
									
										2
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								input.c
									
									
									
									
									
								
							@@ -1333,7 +1333,7 @@ input_csi_dispatch(struct input_ctx *ictx)
 | 
				
			|||||||
			if (s->mode & MODE_FOCUSON)
 | 
								if (s->mode & MODE_FOCUSON)
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
			screen_write_mode_set(&ictx->ctx, MODE_FOCUSON);
 | 
								screen_write_mode_set(&ictx->ctx, MODE_FOCUSON);
 | 
				
			||||||
			wp->flags &= ~PANE_FOCUSED; /* force update if needed */
 | 
								wp->flags |= PANE_FOCUSPUSH; /* force update */
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		case 1005:
 | 
							case 1005:
 | 
				
			||||||
			screen_write_mode_set(&ictx->ctx, MODE_MOUSE_UTF8);
 | 
								screen_write_mode_set(&ictx->ctx, MODE_MOUSE_UTF8);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user