diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 15:05:12 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 18:16:14 +0000 |
commit | 9a17200446952f67b10b7801a272b6abdd1ae8b3 (patch) | |
tree | 242489591ded3ee482b2ae492e535309224b09f4 /examples/pointer.c | |
parent | bd6c000d142fe6a8e893f1cdd2d5eb0b9d2ac7b8 (diff) |
types/wlr_keyboard: uniformize events name
Diffstat (limited to 'examples/pointer.c')
-rw-r--r-- | examples/pointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pointer.c b/examples/pointer.c index af14178c..d22047de 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -228,7 +228,7 @@ static void handle_tablet_tool_axis(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->state; - 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, |