rename touch slot to touch id

This commit is contained in:
Tony Crisci 2017-11-16 17:53:52 -05:00
parent fb18e345a6
commit f61986e8db
7 changed files with 36 additions and 36 deletions

View file

@ -22,7 +22,7 @@ struct wlr_touch {
struct wlr_event_touch_down {
struct wlr_input_device *device;
uint32_t time_msec;
int32_t slot;
int32_t touch_id;
double x_mm, y_mm;
double width_mm, height_mm;
};
@ -30,13 +30,13 @@ struct wlr_event_touch_down {
struct wlr_event_touch_up {
struct wlr_input_device *device;
uint32_t time_msec;
int32_t slot;
int32_t touch_id;
};
struct wlr_event_touch_motion {
struct wlr_input_device *device;
uint32_t time_msec;
int32_t slot;
int32_t touch_id;
double x_mm, y_mm;
double width_mm, height_mm;
};
@ -44,7 +44,7 @@ struct wlr_event_touch_motion {
struct wlr_event_touch_cancel {
struct wlr_input_device *device;
uint32_t time_msec;
int32_t slot;
int32_t touch_id;
};
#endif