comparison src/libvterm/src/mouse.c @ 20518:a4652d7ec99f v8.2.0813

patch 8.2.0813: libvterm code is slightly different from upstream Commit: https://github.com/vim/vim/commit/591cec8366e87a172495c362477cbf5de8d399f0 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 22 22:06:06 2020 +0200 patch 8.2.0813: libvterm code is slightly different from upstream Problem: libvterm code is slightly different from upstream. Solution: Use upstream text to avoid future merge problems. Mainly comment style changes.
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 May 2020 22:15:04 +0200
parents da6a7491e148
children d0265fdadec9
comparison
equal deleted inserted replaced
20517:a7c6cd0d7ba0 20518:a4652d7ec99f
81 state->mouse_buttons |= (1 << (button-1)); 81 state->mouse_buttons |= (1 << (button-1));
82 else 82 else
83 state->mouse_buttons &= ~(1 << (button-1)); 83 state->mouse_buttons &= ~(1 << (button-1));
84 } 84 }
85 85
86 // Most of the time we don't get button releases from 4/5 86 /* Most of the time we don't get button releases from 4/5 */
87 if(state->mouse_buttons == old_buttons && button < 4) 87 if(state->mouse_buttons == old_buttons && button < 4)
88 return; 88 return;
89 if (!(state->mouse_flags & MOUSE_WANT_CLICK)) 89 if (!(state->mouse_flags & MOUSE_WANT_CLICK))
90 return; 90 return;
91 91