summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-06-23 12:51:30 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-06-23 12:51:30 +0000
commit03cec82a5001a5a6c4649b6a2392f42f169a79d6 (patch)
tree983c98f2d2a2752e72efe8d64426680571aa237c /usr.bin/tmux/input.c
parent49a74f171e9359c9c6bb88459cec04651f5d6eda (diff)
Always push a focus event when the application turns it on, prompted by
discussion with Hayaki Saito a while ago.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 49fbbedf357..5b5abe8e3c3 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.62 2013/03/24 09:18:16 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.63 2013/06/23 12:51:28 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);