wlr-seat: basic touch

This commit is contained in:
Tony Crisci 2017-11-12 11:43:50 -05:00
parent 0fe51b66e4
commit e5a31ae870
8 changed files with 217 additions and 43 deletions

View file

@ -39,7 +39,6 @@ struct roots_cursor {
uint32_t resize_edges;
// Ring buffer of input events that could trigger move/resize/rotate
int input_events_idx;
struct wl_list touch_points;
struct roots_input_event input_events[16];
struct wl_listener motion;

View file

@ -43,13 +43,6 @@ struct roots_touch {
struct wl_list link;
};
struct roots_touch_point {
struct roots_touch *device;
int32_t slot;
double x, y;
struct wl_list link;
};
struct roots_tablet_tool {
struct roots_seat *seat;
struct wlr_input_device *device;