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:
Nicholas Marriott 2013-06-23 12:51:28 +00:00 committed by Thomas Adam
parent a0172a6ae5
commit 777be296ee

View File

@ -1333,7 +1333,7 @@ input_csi_dispatch(struct input_ctx *ictx)
if (s->mode & MODE_FOCUSON)
break;
screen_write_mode_set(&ictx->ctx, MODE_FOCUSON);
wp->flags &= ~PANE_FOCUSED; /* force update if needed */
wp->flags |= PANE_FOCUSPUSH; /* force update */
break;
case 1005:
screen_write_mode_set(&ictx->ctx, MODE_MOUSE_UTF8);