From d1f543a9d87f354e5ad8f942933dba3edb54ffed Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 9 Mar 2022 15:16:04 -0500 Subject: types/wlr_tablet_pad: uniformize events name --- examples/tablet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/tablet.c b/examples/tablet.c index 05fbc773..9903bbf1 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -185,7 +185,7 @@ static void tablet_tool_button_notify(struct wl_listener *listener, void *data) static void tablet_pad_button_notify(struct wl_listener *listener, void *data) { struct tablet_pad_state *pstate = wl_container_of(listener, pstate, button); - struct wlr_event_tablet_pad_button *event = data; + struct wlr_tablet_pad_button_event *event = data; struct sample_state *sample = pstate->sample; float default_color[4] = { 0.5, 0.5, 0.5, 1.0 }; if (event->state == WLR_BUTTON_RELEASED) { @@ -203,7 +203,7 @@ static void tablet_pad_button_notify(struct wl_listener *listener, void *data) { static void tablet_pad_ring_notify(struct wl_listener *listener, void *data) { struct tablet_pad_state *pstate = wl_container_of(listener, pstate, ring); - struct wlr_event_tablet_pad_ring *event = data; + struct wlr_tablet_pad_ring_event *event = data; struct sample_state *sample = pstate->sample; if (event->position != -1) { sample->ring = -(event->position * (M_PI / 180.0)); -- cgit v1.2.3