aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-05-31 13:00:11 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-05-31 13:00:11 +0100
commit2ee9c4df12429d4f6fb8f06a373fdd5c0347049c (patch)
tree1c241b4bcd2e637cbae11d7fb6b34840d9839ec7 /input-keys.c
parente6c77e7afbcee07ed6237f2a0f30e70f45ecf0ba (diff)
parent76cb088d16fd5aa47b54428368ef403cbbcf4f5a (diff)
downloadrtmux-2ee9c4df12429d4f6fb8f06a373fdd5c0347049c.tar.gz
rtmux-2ee9c4df12429d4f6fb8f06a373fdd5c0347049c.tar.bz2
rtmux-2ee9c4df12429d4f6fb8f06a373fdd5c0347049c.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c
index faa7bd17..7582a638 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -226,7 +226,7 @@ input_mouse(struct window_pane *wp, struct session *s, struct mouse_event *m)
len += utf8_split2(m->x + 33, &buf[len]);
len += utf8_split2(m->y + 33, &buf[len]);
} else {
- if (m->xb > 223 || m->x >= 222 || m->y > 222)
+ if (m->xb > 223)
return;
len = xsnprintf(buf, sizeof buf, "\033[M");
buf[len++] = m->xb + 32;