diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 16:01:14 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 18:16:14 +0000 |
commit | aaf787ee5650e77f0bda4dea8e3ba8325e0e6b39 (patch) | |
tree | 147ec06fc44750d5663a1bdd4505b4bff9da0ee8 /include/wlr | |
parent | e732c5c8954900d06e042dac1b04cda9b93c2051 (diff) |
types/wlr_touch: uniformize events name
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_touch.h | 16 |
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; }; |