mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +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:
parent
662d471215
commit
a41cd8d75b
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user