summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-06-23 12:51:28 +0000
committerThomas Adam <thomas@xteddy.org>2013-06-28 20:55:16 +0100
commit777be296ee041e7d9131110e0489e791ed389ac1 (patch)
tree89dbaf5c50d07016c4e1d614dceb69af3edd180a /input.c
parenta0172a6ae561fd6764fcfcdd975fc7a07f43dc79 (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 4aa02e90..30d3bb98 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);