diff options
author | 2015-04-21 15:21:41 +0000 | |
---|---|---|
committer | 2015-04-21 15:21:41 +0000 | |
commit | 5325fce77391590378b6caf4fecff8bdb131f3b4 (patch) | |
tree | bd89e06a7a454cc106d71fd61abe31905be6d175 /usr.bin/tmux/input-keys.c | |
parent | Put mouse_any_flag back, don't know where it went to (still in man page). (diff) | |
download | wireguard-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.c | 3 |
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); } |