aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:43:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:43:07 +0000
commit9f0b1f94c284e76ff1579e7f34f4a7418ef98b02 (patch)
treed9ac666de7624b6960bb590159a9d08c68fa2761 /terminal.h
parentwayland: add back-pointer to terminal (diff)
wayland: change all wayland callbacks to take a wayland pointer
Instead of passing the terminal to the wayland callbacks, pass a 'struct wayland' pointer.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/terminal.h b/terminal.h
index cd8d7768..7d7d1fcd 100644
--- a/terminal.h
+++ b/terminal.h
@@ -200,19 +200,6 @@ struct terminal {
uint32_t default_table[256];
} colors;
- struct {
- int col;
- int row;
- int button;
-
- int count;
- int last_button;
- struct timeval last_time;
-
- /* We used a discrete axis event in the current pointer frame */
- bool have_discrete;
- } mouse;
-
struct coord cursor;
struct coord saved_cursor;
struct coord alt_saved_cursor;
@@ -228,7 +215,6 @@ struct terminal {
uint32_t cursor;
} cursor_color;
- uint32_t input_serial;
struct {
struct coord start;
struct coord end;