From 58415428cf12bd282969e547f65189639ad8351a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 8 Jul 2020 18:16:43 +0200 Subject: multi-seat: re-enable mouse button+motion reporting support --- terminal.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index e28e3af7..604511da 100644 --- a/terminal.h +++ b/terminal.h @@ -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); -- cgit v1.3