diff options
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); |