mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +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:
		
							
								
								
									
										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
	 Nicholas Marriott
					Nicholas Marriott