diff options
Diffstat (limited to 'backend/libinput/pointer.c')
-rw-r--r-- | backend/libinput/pointer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/backend/libinput/pointer.c b/backend/libinput/pointer.c index 436c826a..57c417c8 100644 --- a/backend/libinput/pointer.c +++ b/backend/libinput/pointer.c @@ -23,8 +23,8 @@ void handle_pointer_motion(struct libinput_event *event, } struct libinput_event_pointer *pevent = libinput_event_get_pointer_event(event); - struct wlr_pointer_motion *wlr_event = - calloc(1, sizeof(struct wlr_pointer_motion)); + struct wlr_event_pointer_motion *wlr_event = + calloc(1, sizeof(struct wlr_event_pointer_motion)); wlr_event->time_sec = libinput_event_pointer_get_time(pevent); wlr_event->time_usec = libinput_event_pointer_get_time_usec(pevent); wlr_event->delta_x = libinput_event_pointer_get_dx(pevent); @@ -42,8 +42,8 @@ void handle_pointer_motion_abs(struct libinput_event *event, } struct libinput_event_pointer *pevent = libinput_event_get_pointer_event(event); - struct wlr_pointer_motion_absolute *wlr_event = - calloc(1, sizeof(struct wlr_pointer_motion_absolute)); + struct wlr_event_pointer_motion_absolute *wlr_event = + calloc(1, sizeof(struct wlr_event_pointer_motion_absolute)); wlr_event->time_sec = libinput_event_pointer_get_time(pevent); wlr_event->time_usec = libinput_event_pointer_get_time_usec(pevent); wlr_event->x_mm = libinput_event_pointer_get_absolute_x(pevent); @@ -62,8 +62,8 @@ void handle_pointer_button(struct libinput_event *event, } struct libinput_event_pointer *pevent = libinput_event_get_pointer_event(event); - struct wlr_pointer_button *wlr_event = - calloc(1, sizeof(struct wlr_pointer_button)); + struct wlr_event_pointer_button *wlr_event = + calloc(1, sizeof(struct wlr_event_pointer_button)); wlr_event->time_sec = libinput_event_pointer_get_time(pevent); wlr_event->time_usec = libinput_event_pointer_get_time_usec(pevent); wlr_event->button = libinput_event_pointer_get_button(pevent); @@ -88,8 +88,8 @@ void handle_pointer_axis(struct libinput_event *event, } struct libinput_event_pointer *pevent = libinput_event_get_pointer_event(event); - struct wlr_pointer_axis *wlr_event = - calloc(1, sizeof(struct wlr_pointer_axis)); + struct wlr_event_pointer_axis *wlr_event = + calloc(1, sizeof(struct wlr_event_pointer_axis)); wlr_event->time_sec = libinput_event_pointer_get_time(pevent); wlr_event->time_usec = libinput_event_pointer_get_time_usec(pevent); switch (libinput_event_pointer_get_axis_source(pevent)) { |