diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-21 14:07:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-21 14:07:09 -0400 |
commit | 3d71969b2a66a029df88e0c6bbcb8d388d57a13c (patch) | |
tree | b2897cbe78cdc2b8d9f00f1c8e68b5cec4775340 /backend/libinput/touch.c | |
parent | f4453d104dcf0742af0949225cada72a6cc65d05 (diff) |
Make event names consistent
Diffstat (limited to 'backend/libinput/touch.c')
-rw-r--r-- | backend/libinput/touch.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/backend/libinput/touch.c b/backend/libinput/touch.c index b19597a3..c002b6a0 100644 --- a/backend/libinput/touch.c +++ b/backend/libinput/touch.c @@ -23,8 +23,8 @@ void handle_touch_down(struct libinput_event *event, } struct libinput_event_touch *tevent = libinput_event_get_touch_event(event); - struct wlr_touch_down *wlr_event = - calloc(1, sizeof(struct wlr_touch_down)); + struct wlr_event_touch_down *wlr_event = + calloc(1, sizeof(struct wlr_event_touch_down)); wlr_event->time_sec = libinput_event_touch_get_time(tevent); wlr_event->time_usec = libinput_event_touch_get_time_usec(tevent); wlr_event->slot = libinput_event_touch_get_slot(tevent); @@ -44,8 +44,8 @@ void handle_touch_up(struct libinput_event *event, } struct libinput_event_touch *tevent = libinput_event_get_touch_event(event); - struct wlr_touch_up *wlr_event = - calloc(1, sizeof(struct wlr_touch_up)); + struct wlr_event_touch_up *wlr_event = + calloc(1, sizeof(struct wlr_event_touch_up)); wlr_event->time_sec = libinput_event_touch_get_time(tevent); wlr_event->time_usec = libinput_event_touch_get_time_usec(tevent); wlr_event->slot = libinput_event_touch_get_slot(tevent); @@ -62,8 +62,8 @@ void handle_touch_motion(struct libinput_event *event, } struct libinput_event_touch *tevent = libinput_event_get_touch_event(event); - struct wlr_touch_motion *wlr_event = - calloc(1, sizeof(struct wlr_touch_motion)); + struct wlr_event_touch_motion *wlr_event = + calloc(1, sizeof(struct wlr_event_touch_motion)); wlr_event->time_sec = libinput_event_touch_get_time(tevent); wlr_event->time_usec = libinput_event_touch_get_time_usec(tevent); wlr_event->slot = libinput_event_touch_get_slot(tevent); @@ -83,8 +83,8 @@ void handle_touch_cancel(struct libinput_event *event, } struct libinput_event_touch *tevent = libinput_event_get_touch_event(event); - struct wlr_touch_cancel *wlr_event = - calloc(1, sizeof(struct wlr_touch_cancel)); + struct wlr_event_touch_cancel *wlr_event = + calloc(1, sizeof(struct wlr_event_touch_cancel)); wlr_event->time_sec = libinput_event_touch_get_time(tevent); wlr_event->time_usec = libinput_event_touch_get_time_usec(tevent); wlr_event->slot = libinput_event_touch_get_slot(tevent); |