summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-10-26 14:35:42 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-10-26 14:35:42 +0000
commitd210d99ccecfaa2ef23a65609dc8cbb26bcfe236 (patch)
tree8de6dd8ecc536d54cb9a8c4b2f0170dde99fbd0d /window.c
parent2a609b332f6cdc2ef6f3ffb525a3c74ada738ec4 (diff)
Make mouse event structure clearer by defining events (up, click, drag)
and simplifying how buttons and wheels are represented, from Ailin Nemui. Should be no functional changes.
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 07e6ae1b..fc9fa5f3 100644
--- a/window.c
+++ b/window.c
@@ -1011,7 +1011,7 @@ window_pane_mouse(
options_get_number(&wp->window->options, "mode-mouse"))
wp->mode->mouse(wp, sess, m);
} else if (wp->fd != -1)
- input_mouse(wp, m);
+ input_mouse(wp, sess, m);
}
int