diff options
| author | Tony Crisci <tony@dubstepdish.com> | 2017-08-27 11:44:55 -0400 |
|---|---|---|
| committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-27 11:44:55 -0400 |
| commit | c91469767631c84375678f3428a43c355d2c9742 (patch) | |
| tree | b404842728ed312c87a2f96ee623a08fb29186b7 /include | |
| parent | ed126b0881413dc3c855abf313c62e2f3abad4aa (diff) | |
| download | wlroots-c91469767631c84375678f3428a43c355d2c9742.tar.xz | |
add device to touch events
Diffstat (limited to 'include')
| -rw-r--r-- | include/wlr/types/wlr_touch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index 93069fcb..1a27cad3 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -19,6 +19,7 @@ struct wlr_touch { }; struct wlr_event_touch_down { + struct wlr_input_device *device; uint32_t time_sec; uint64_t time_usec; int32_t slot; @@ -27,12 +28,14 @@ struct wlr_event_touch_down { }; struct wlr_event_touch_up { + struct wlr_input_device *device; uint32_t time_sec; uint64_t time_usec; int32_t slot; }; struct wlr_event_touch_motion { + struct wlr_input_device *device; uint32_t time_sec; uint64_t time_usec; int32_t slot; @@ -41,6 +44,7 @@ struct wlr_event_touch_motion { }; struct wlr_event_touch_cancel { + struct wlr_input_device *device; uint32_t time_sec; uint64_t time_usec; int32_t slot; |
