aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-03-09 15:05:12 -0500
committerKirill Primak <vyivel@eclair.cafe>2022-03-17 18:16:14 +0000
commit9a17200446952f67b10b7801a272b6abdd1ae8b3 (patch)
tree242489591ded3ee482b2ae492e535309224b09f4 /include/wlr
parentbd6c000d142fe6a8e893f1cdd2d5eb0b9d2ac7b8 (diff)
types/wlr_keyboard: uniformize events name
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/interfaces/wlr_keyboard.h2
-rw-r--r--include/wlr/types/wlr_keyboard.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_keyboard.h b/include/wlr/interfaces/wlr_keyboard.h
index 3f4c4255..06b07989 100644
--- a/include/wlr/interfaces/wlr_keyboard.h
+++ b/include/wlr/interfaces/wlr_keyboard.h
@@ -26,7 +26,7 @@ void wlr_keyboard_init(struct wlr_keyboard *keyboard,
void wlr_keyboard_finish(struct wlr_keyboard *keyboard);
void wlr_keyboard_notify_key(struct wlr_keyboard *keyboard,
- struct wlr_event_keyboard_key *event);
+ struct wlr_keyboard_key_event *event);
void wlr_keyboard_notify_modifiers(struct wlr_keyboard *keyboard,
uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked,
uint32_t group);
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h
index 063d6e3f..d8415933 100644
--- a/include/wlr/types/wlr_keyboard.h
+++ b/include/wlr/types/wlr_keyboard.h
@@ -94,7 +94,7 @@ struct wlr_keyboard {
void *data;
};
-struct wlr_event_keyboard_key {
+struct wlr_keyboard_key_event {
uint32_t time_msec;
uint32_t keycode;
bool update_state; // if backend doesn't update modifiers on its own