aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-27 07:31:53 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-27 07:31:53 -0500
commit069f120b70f364dc83d43dfff89ce731584299b5 (patch)
treef8174c4dcae193b8ea3263e07c3e38989eb0ce80 /include
parenta79dc7df5103854b2cc5be20e153140862cda05a (diff)
rootston: remove input event ring buffer
Diffstat (limited to 'include')
-rw-r--r--include/rootston/cursor.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h
index de6b7b92..19ac4034 100644
--- a/include/rootston/cursor.h
+++ b/include/rootston/cursor.h
@@ -10,12 +10,6 @@ enum roots_cursor_mode {
ROOTS_CURSOR_ROTATE = 3,
};
-struct roots_input_event {
- uint32_t serial;
- struct wlr_cursor *cursor;
- struct wlr_input_device *device;
-};
-
struct roots_cursor {
struct roots_seat *seat;
struct wlr_cursor *cursor;
@@ -32,9 +26,6 @@ struct roots_cursor {
int view_x, view_y, view_width, view_height;
float view_rotation;
uint32_t resize_edges;
- // Ring buffer of input events that could trigger move/resize/rotate
- int input_events_idx;
- struct roots_input_event input_events[16];
struct wl_listener motion;
struct wl_listener motion_absolute;