aboutsummaryrefslogtreecommitdiff
path: root/examples/quads.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quads.c')
-rw-r--r--examples/quads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quads.c b/examples/quads.c
index d74ef25e..88c59f7c 100644
--- a/examples/quads.c
+++ b/examples/quads.c
@@ -129,7 +129,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,