Mercurial > vim
comparison src/libvterm/src/mouse.c @ 11780:c76b672df584 v8.0.0772
patch 8.0.0772: other stdbool.h dependencies in libvterm
commit https://github.com/vim/vim/commit/b2a76ec06bb1130cfb632bdfef64e479fa55dd5c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 25 21:34:46 2017 +0200
patch 8.0.0772: other stdbool.h dependencies in libvterm
Problem: Other stdbool.h dependencies in libvterm.
Solution: Remove the dependency and use TRUE/FALSE/int. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 25 Jul 2017 21:45:04 +0200 |
parents | b8299e742f41 |
children | 4d4ee9c5803c |
comparison
equal
deleted
inserted
replaced
11779:8c6f35d0ee28 | 11780:c76b672df584 |
---|---|
68 state->mouse_buttons & 0x04 ? 3 : 4; | 68 state->mouse_buttons & 0x04 ? 3 : 4; |
69 output_mouse(state, button-1 + 0x20, 1, mod, col, row); | 69 output_mouse(state, button-1 + 0x20, 1, mod, col, row); |
70 } | 70 } |
71 } | 71 } |
72 | 72 |
73 void vterm_mouse_button(VTerm *vt, int button, bool pressed, VTermModifier mod) | 73 void vterm_mouse_button(VTerm *vt, int button, int pressed, VTermModifier mod) |
74 { | 74 { |
75 VTermState *state = vt->state; | 75 VTermState *state = vt->state; |
76 | 76 |
77 int old_buttons = state->mouse_buttons; | 77 int old_buttons = state->mouse_buttons; |
78 | 78 |