summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-04-21 15:21:41 +0000
committernicm <nicm@openbsd.org>2015-04-21 15:21:41 +0000
commit5325fce77391590378b6caf4fecff8bdb131f3b4 (patch)
treebd89e06a7a454cc106d71fd61abe31905be6d175 /usr.bin/tmux/input-keys.c
parentPut mouse_any_flag back, don't know where it went to (still in man page). (diff)
downloadwireguard-openbsd-5325fce77391590378b6caf4fecff8bdb131f3b4.tar.xz
wireguard-openbsd-5325fce77391590378b6caf4fecff8bdb131f3b4.zip
Don't eat the mouse event that triggers a drag end because we may want
to pass it on to application inside the pane.
Diffstat (limited to 'usr.bin/tmux/input-keys.c')
-rw-r--r--usr.bin/tmux/input-keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/input-keys.c b/usr.bin/tmux/input-keys.c
index 3a6b6b74932..f7fefb2578c 100644
--- a/usr.bin/tmux/input-keys.c
+++ b/usr.bin/tmux/input-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input-keys.c,v 1.42 2015/04/19 21:34:21 nicm Exp $ */
+/* $OpenBSD: input-keys.c,v 1.43 2015/04/21 15:21:41 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -251,5 +251,6 @@ input_key_mouse(struct window_pane *wp, struct mouse_event *m)
buf[len++] = x + 33;
buf[len++] = y + 33;
}
+ log_debug("writing mouse %.*s", (int)len, buf);
bufferevent_write(wp->event, buf, len);
}