diff options
Diffstat (limited to 'examples/simple.c')
-rw-r--r-- | examples/simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple.c b/examples/simple.c index 94f3abe0..e46093be 100644 --- a/examples/simple.c +++ b/examples/simple.c @@ -109,7 +109,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, |