summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-06-23 12:51:28 +0000
committernicm <nicm@openbsd.org>2013-06-23 12:51:28 +0000
commit95e4eef6d8afb171f97757ba59c0b1d0d576af4f (patch)
tree51c38941db5409745c2841d27b88fd94bf683ab0 /usr.bin/tmux/input.c
parentMark control commands specially so the client can identify them, based (diff)
downloadwireguard-openbsd-95e4eef6d8afb171f97757ba59c0b1d0d576af4f.tar.xz
wireguard-openbsd-95e4eef6d8afb171f97757ba59c0b1d0d576af4f.zip
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);