aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-08 16:16:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-08 16:16:43 +0000
commit58415428cf12bd282969e547f65189639ad8351a (patch)
tree97c535adc854a671e506c0dc8ab69dad68726d74 /terminal.h
parentmulti-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.h12
1 files changed, 9 insertions, 3 deletions
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);