summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-06-23 12:51:28 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-06-23 12:51:28 +0000
commita41cd8d75b55da5a1e75e187b30b33917c18c1b2 (patch)
tree8315e67de6cc6a21ad24e04568a821ff7c5dedf5 /input.c
parent662d471215d66d3c44a9251cef7d00b25587851d (diff)
Always push a focus event when the application turns it on, prompted by
discussion with Hayaki Saito a while ago.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 0dcdee96..5f70f872 100644
--- a/input.c
+++ b/input.c
@@ -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);