types/wlr_keyboard: uniformize events name

This commit is contained in:
Simon Zeni 2022-03-09 15:05:12 -05:00 committed by Kirill Primak
parent bd6c000d14
commit 9a17200446
18 changed files with 23 additions and 23 deletions

View file

@ -134,7 +134,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,