From 9a17200446952f67b10b7801a272b6abdd1ae8b3 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 9 Mar 2022 15:05:12 -0500 Subject: types/wlr_keyboard: uniformize events name --- examples/touch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/touch.c') diff --git a/examples/touch.c b/examples/touch.c index ae2dcf8f..5984c500 100644 --- a/examples/touch.c +++ b/examples/touch.c @@ -172,7 +172,7 @@ static void new_output_notify(struct wl_listener *listener, void *data) { static void keyboard_key_notify(struct wl_listener *listener, void *data) { struct sample_keyboard *keyboard = wl_container_of(listener, keyboard, key); struct sample_state *sample = keyboard->sample; - struct wlr_event_keyboard_key *event = data; + struct wlr_keyboard_key_event *event = data; uint32_t keycode = event->keycode + 8; const xkb_keysym_t *syms; int nsyms = xkb_state_key_get_syms(keyboard->device->keyboard->xkb_state, -- cgit v1.2.3