diff options
author | 2014-04-03 08:15:17 +0000 | |
---|---|---|
committer | 2014-04-03 08:15:17 +0000 | |
commit | c66317f3628e43438badbd5e9236090bf49cdaef (patch) | |
tree | 7d0ca3e9b7ed05c062c13aa408eb8de95614fe24 /usr.bin/tmux/input-keys.c | |
parent | Moar <uvm/uvm.h> -> <uvm/uvm_extern.h> love. (diff) | |
download | wireguard-openbsd-c66317f3628e43438badbd5e9236090bf49cdaef.tar.xz wireguard-openbsd-c66317f3628e43438badbd5e9236090bf49cdaef.zip |
A couple of trivial mouse-related style nits.
Diffstat (limited to 'usr.bin/tmux/input-keys.c')
-rw-r--r-- | usr.bin/tmux/input-keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input-keys.c b/usr.bin/tmux/input-keys.c index 87b97f37147..26c1a4d91fe 100644 --- a/usr.bin/tmux/input-keys.c +++ b/usr.bin/tmux/input-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input-keys.c,v 1.34 2014/03/31 21:42:45 nicm Exp $ */ +/* $OpenBSD: input-keys.c,v 1.35 2014/04/03 08:15:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |