diff options
author | Derek Foreman <derek.foreman@collabora.com> | 2022-02-02 08:16:38 -0600 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2023-02-09 12:12:40 +0000 |
commit | 69908000e368139e046d735642b387a21d26e822 (patch) | |
tree | c865ef2422ec1757cfc39f1c05d5e357c5427a1d /include | |
parent | 8031b9d57fc7e448a021f5aa5db4aea04c685067 (diff) | |
download | weston-69908000e368139e046d735642b387a21d26e822.tar.gz |
input: Convert weston_pointer_motion_event to weston_coord
This struct has a lot of members that can be converted to weston_coord.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libweston/libweston.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index 4cfe592d..2bc5b047 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -592,12 +592,9 @@ enum weston_pointer_motion_mask { struct weston_pointer_motion_event { uint32_t mask; struct timespec time; - double x; - double y; - double dx; - double dy; - double dx_unaccel; - double dy_unaccel; + struct weston_coord_global abs; + struct weston_coord rel; + struct weston_coord rel_unaccel; }; struct weston_pointer_axis_event { |