diff options
author | Thomas Adam <thomas@xteddy.org> | 2014-04-05 12:36:14 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2014-04-05 12:36:14 +0100 |
commit | 0c99c7dbff21082a5f0774e6193b9c9b9a160882 (patch) | |
tree | 852fa9fde3126091fa90ee6604097373076772b1 /input-keys.c | |
parent | 806d5dcb17c26d2abcbf4328a9ec419ada3d4a3f (diff) | |
parent | acef311fe356f408690e9f94727ed63a934b742f (diff) | |
download | rtmux-0c99c7dbff21082a5f0774e6193b9c9b9a160882.tar.gz rtmux-0c99c7dbff21082a5f0774e6193b9c9b9a160882.tar.bz2 rtmux-0c99c7dbff21082a5f0774e6193b9c9b9a160882.zip |
Merge branch 'obsd-master'
Conflicts:
Makefile
tty-keys.c
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 46c37d0b..f092f976 100644 --- a/input-keys.c +++ b/input-keys.c @@ -244,7 +244,7 @@ input_mouse(struct window_pane *wp, struct session *s, struct mouse_event *m) paste_send_pane(pb, wp, "\r", wp->screen->mode & MODE_BRACKETPASTE); } - } else if ((m->xb & 3) != 1 && + } else if (m->button != 1 && options_get_number(&wp->window->options, "mode-mouse") == 1) { if (window_pane_set_mode(wp, &window_copy_mode) == 0) { window_copy_init_from_pane(wp); |