diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-05-07 11:00:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-05-07 11:00:16 +0000 |
commit | 66f4c60a8477e0cf9eb059e7687ca524f135e442 (patch) | |
tree | d6cd4912fc342e4ff2291172bde3f4ff5e7ff0c5 /input-keys.c | |
parent | 2555ac58ccc9b5e9c188dcb3a3a4cce6aa4821d1 (diff) | |
download | rtmux-66f4c60a8477e0cf9eb059e7687ca524f135e442.tar.gz rtmux-66f4c60a8477e0cf9eb059e7687ca524f135e442.tar.bz2 rtmux-66f4c60a8477e0cf9eb059e7687ca524f135e442.zip |
Don't limit width and height to 222 in standard mouse mode.
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 d7e8513d..2de48e97 100644 --- a/input-keys.c +++ b/input-keys.c @@ -227,7 +227,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; |