summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-10-26 17:17:06 +0000
committernicm <nicm@openbsd.org>2015-10-26 17:17:06 +0000
commit302fe310d00d29536b2308ab55d1587cb3708825 (patch)
treedf8215d6a9fa98731a4284829f3726f624d663b8 /usr.bin/tmux/server-client.c
parentRather than setpassent(1) for the lifetime of the program, use two smaller (diff)
downloadwireguard-openbsd-302fe310d00d29536b2308ab55d1587cb3708825.tar.xz
wireguard-openbsd-302fe310d00d29536b2308ab55d1587cb3708825.zip
Some extra logging of where keys are actually going.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 1cfd2a00d5c..67028ee10b7 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.159 2015/10/23 23:46:36 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.160 2015/10/26 17:17:06 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -369,6 +369,8 @@ server_client_check_mouse(struct client *c)
wp = window_get_active_at(s->curw->window, x, y);
if (wp != NULL)
where = PANE;
+ log_debug("mouse at %u,%u is on pane %%%u", x, y,
+ wp->id);
}
if (where == NOWHERE)
return (KEYC_NONE);