From 9f0b1f94c284e76ff1579e7f34f4a7418ef98b02 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 27 Oct 2019 18:43:07 +0100 Subject: wayland: change all wayland callbacks to take a wayland pointer Instead of passing the terminal to the wayland callbacks, pass a 'struct wayland' pointer. --- terminal.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'terminal.h') 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; -- cgit v1.3