aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-05 08:44:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-05 08:44:57 +0000
commita102ff09f97135e911809eb7d4ef97870b287f5a (patch)
tree3118d9bde1be5c0ba702b47b3deebb0531641137 /terminal.h
parentrender: load cursor theme from XCURSOR_THEME and XCURSOR_SIZE (diff)
input: mouse events
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index a7b6f5cd..4c1e604e 100644
--- a/terminal.h
+++ b/terminal.h
@@ -182,6 +182,11 @@ struct terminal {
struct rgba foreground;
struct rgba background;
+ struct {
+ int x;
+ int y;
+ } mouse;
+
struct cursor cursor;
struct cursor saved_cursor;
struct cursor alt_saved_cursor;