wlr_{keyboard,pointer,touch}: Update event docs

Events used by our input devices were recently renamed from wlr_event_* to
wlr_*_event, but the documentation and a single point of use was not updated
accordingly.

Regressed by: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3484
This commit is contained in:
Kenny Levinsen 2022-06-27 22:56:02 +02:00 committed by Simon Ser
parent c20468cfa2
commit 03dc7e2df5
4 changed files with 19 additions and 19 deletions

View file

@ -365,7 +365,7 @@ void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface,
}
static void handle_pointer_motion(struct wl_listener *listener, void *data) {
struct wlr_event_pointer_motion *event = data;
struct wlr_pointer_motion_event *event = data;
struct wlr_cursor_device *device =
wl_container_of(listener, device, motion);
wlr_signal_emit_safe(&device->cursor->events.motion, event);