diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-03 16:06:25 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-03 16:06:25 -0500 |
commit | 10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7 (patch) | |
tree | dfca4f5324e3e1eae8a117a915e924c314cca482 /src/nvim/term.c | |
parent | a0bcd7d5f5ffcfbac1a4f57cf4e1e0efe1d1bed6 (diff) | |
parent | f3b06ba6d12b19d979c32f1903ec6ebb2041a10c (diff) | |
download | rneovim-10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7.tar.gz rneovim-10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7.tar.bz2 rneovim-10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7.zip |
Merge pull request #1762 from steveno/patch-1
Remove unneeded global WantQueryMouse
Diffstat (limited to 'src/nvim/term.c')
-rw-r--r-- | src/nvim/term.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/term.c b/src/nvim/term.c index ceec140670..cf2b78394f 100644 --- a/src/nvim/term.c +++ b/src/nvim/term.c @@ -3448,23 +3448,19 @@ int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen) if (Pb) { held_button = mouse_code; mouse_code |= MOUSE_DRAG; - WantQueryMouse = TRUE; } is_drag = TRUE; showmode(); break; case 2: mouse_code = MOUSE_LEFT; - WantQueryMouse = TRUE; break; case 3: mouse_code = MOUSE_RELEASE | MOUSE_LEFT; break; case 4: mouse_code = MOUSE_MIDDLE; - WantQueryMouse = TRUE; break; case 5: mouse_code = MOUSE_RELEASE | MOUSE_MIDDLE; break; case 6: mouse_code = MOUSE_RIGHT; - WantQueryMouse = TRUE; break; case 7: mouse_code = MOUSE_RELEASE | MOUSE_RIGHT; break; |