Mercurial > vim
diff src/libvterm/src/mouse.c @ 26270:f93337ae0612 v8.2.3666
patch 8.2.3666: libvterm is outdated
Commit: https://github.com/vim/vim/commit/7da341560ec8db7e81cd80092b046b60a482fbbe
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 24 19:30:55 2021 +0000
patch 8.2.3666: libvterm is outdated
Problem: Libvterm is outdated.
Solution: Include patches from revision 769 to revision 789.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Nov 2021 20:45:04 +0100 |
parents | d0265fdadec9 |
children |
line wrap: on
line diff
--- a/src/libvterm/src/mouse.c +++ b/src/libvterm/src/mouse.c @@ -89,6 +89,9 @@ void vterm_mouse_button(VTerm *vt, int b if (!(state->mouse_flags & MOUSE_WANT_CLICK)) return; + if(!state->mouse_flags) + return; + if(button < 4) { output_mouse(state, button-1, pressed, mod, state->mouse_col, state->mouse_row); }