Always push a focus event when the application turns it on, prompted by

discussion with Hayaki Saito a while ago.
pull/1/head
Nicholas Marriott 2013-06-23 12:51:28 +00:00
parent 662d471215
commit a41cd8d75b
1 changed files with 1 additions and 1 deletions

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);