aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_touch.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h
index ac256e08..0d2a27b6 100644
--- a/include/wlr/types/wlr_touch.h
+++ b/include/wlr/types/wlr_touch.h
@@ -34,30 +34,30 @@ struct wlr_touch {
void *data;
};
-struct wlr_event_touch_down {
- struct wlr_input_device *device;
+struct wlr_touch_down_event {
+ struct wlr_touch *touch;
uint32_t time_msec;
int32_t touch_id;
// From 0..1
double x, y;
};
-struct wlr_event_touch_up {
- struct wlr_input_device *device;
+struct wlr_touch_up_event {
+ struct wlr_touch *touch;
uint32_t time_msec;
int32_t touch_id;
};
-struct wlr_event_touch_motion {
- struct wlr_input_device *device;
+struct wlr_touch_motion_event {
+ struct wlr_touch *touch;
uint32_t time_msec;
int32_t touch_id;
// From 0..1
double x, y;
};
-struct wlr_event_touch_cancel {
- struct wlr_input_device *device;
+struct wlr_touch_cancel_event {
+ struct wlr_touch *touch;
uint32_t time_msec;
int32_t touch_id;
};