diff options
author | Thomas Adam <thomas@xteddy.org> | 2013-05-25 11:48:12 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2013-05-25 11:48:12 +0100 |
commit | 76cb088d16fd5aa47b54428368ef403cbbcf4f5a (patch) | |
tree | 3dd07bcc1e7aa513dbd7ecd38c3569e7b7a4e890 /input-keys.c | |
parent | 907ad00300506c25ee84223811e25a411dc21517 (diff) | |
parent | 88a4da97478ec6b4b2f361315a5a183333d0aa3f (diff) | |
download | rtmux-76cb088d16fd5aa47b54428368ef403cbbcf4f5a.tar.gz rtmux-76cb088d16fd5aa47b54428368ef403cbbcf4f5a.tar.bz2 rtmux-76cb088d16fd5aa47b54428368ef403cbbcf4f5a.zip |
Merge branch 'obsd-master'
Conflicts:
tmux.h
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 2 |
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; |