diff options
author | nicm <nicm> | 2014-04-03 08:15:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-04-03 08:15:17 +0000 |
commit | 8824dae6f7b21f95ea824ecc1abc31140763c971 (patch) | |
tree | 2d3e49722f8efd04693c8f80b6d2fbe7bfa37c01 /input-keys.c | |
parent | 252a7373d69646ae866e3a4fa18d46f673864c0e (diff) | |
download | rtmux-8824dae6f7b21f95ea824ecc1abc31140763c971.tar.gz rtmux-8824dae6f7b21f95ea824ecc1abc31140763c971.tar.bz2 rtmux-8824dae6f7b21f95ea824ecc1abc31140763c971.zip |
A couple of trivial mouse-related style nits.
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 9247a995..0370a684 100644 --- a/input-keys.c +++ b/input-keys.c @@ -245,7 +245,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); |