diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-08 16:16:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-08 16:16:43 +0000 |
| commit | 58415428cf12bd282969e547f65189639ad8351a (patch) | |
| tree | 97c535adc854a671e506c0dc8ab69dad68726d74 /terminal.h | |
| parent | multi-seat: enable xcursor theme support again (diff) | |
multi-seat: re-enable mouse button+motion reporting support
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -509,9 +509,15 @@ void term_visual_focus_out(struct terminal *term); bool term_has_kbd_focus(struct terminal *term); void term_kbd_focus_in(struct terminal *term); void term_kbd_focus_out(struct terminal *term); -void term_mouse_down(struct terminal *term, int button, int row, int col); -void term_mouse_up(struct terminal *term, int button, int row, int col); -void term_mouse_motion(struct terminal *term, int button, int row, int col); +void term_mouse_down( + struct terminal *term, int button, int row, int col, + bool shift, bool alt, bool ctrl); +void term_mouse_up( + struct terminal *term, int button, int row, int col, + bool shift, bool alt, bool ctrl); +void term_mouse_motion( + struct terminal *term, int button, int row, int col, + bool shift, bool alt, bool ctrl); bool term_mouse_grabbed(const struct terminal *term); void term_xcursor_update(struct terminal *term); |
