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/tablet_pad.c | |
parent | f4453d104dcf0742af0949225cada72a6cc65d05 (diff) |
Make event names consistent
Diffstat (limited to 'backend/libinput/tablet_pad.c')
-rw-r--r-- | backend/libinput/tablet_pad.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/libinput/tablet_pad.c b/backend/libinput/tablet_pad.c index fdb4775e..5517fa63 100644 --- a/backend/libinput/tablet_pad.c +++ b/backend/libinput/tablet_pad.c @@ -23,8 +23,8 @@ void handle_tablet_pad_button(struct libinput_event *event, } struct libinput_event_tablet_pad *pevent = libinput_event_get_tablet_pad_event(event); - struct wlr_tablet_pad_button *wlr_event = - calloc(1, sizeof(struct wlr_tablet_pad_button)); + struct wlr_event_tablet_pad_button *wlr_event = + calloc(1, sizeof(struct wlr_event_tablet_pad_button)); wlr_event->time_sec = libinput_event_tablet_pad_get_time(pevent); wlr_event->time_usec = libinput_event_tablet_pad_get_time_usec(pevent); wlr_event->button = libinput_event_tablet_pad_get_button_number(pevent); @@ -49,8 +49,8 @@ void handle_tablet_pad_ring(struct libinput_event *event, } struct libinput_event_tablet_pad *pevent = libinput_event_get_tablet_pad_event(event); - struct wlr_tablet_pad_ring *wlr_event = - calloc(1, sizeof(struct wlr_tablet_pad_ring)); + struct wlr_event_tablet_pad_ring *wlr_event = + calloc(1, sizeof(struct wlr_event_tablet_pad_ring)); wlr_event->time_sec = libinput_event_tablet_pad_get_time(pevent); wlr_event->time_usec = libinput_event_tablet_pad_get_time_usec(pevent); wlr_event->ring = libinput_event_tablet_pad_get_ring_number(pevent); @@ -76,8 +76,8 @@ void handle_tablet_pad_strip(struct libinput_event *event, } struct libinput_event_tablet_pad *pevent = libinput_event_get_tablet_pad_event(event); - struct wlr_tablet_pad_strip *wlr_event = - calloc(1, sizeof(struct wlr_tablet_pad_strip)); + struct wlr_event_tablet_pad_strip *wlr_event = + calloc(1, sizeof(struct wlr_event_tablet_pad_strip)); wlr_event->time_sec = libinput_event_tablet_pad_get_time(pevent); wlr_event->time_usec = libinput_event_tablet_pad_get_time_usec(pevent); wlr_event->strip = libinput_event_tablet_pad_get_strip_number(pevent); |