aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/multi-pointer.c2
-rw-r--r--examples/output-layout.c2
-rw-r--r--examples/pointer.c2
-rw-r--r--examples/quads.c2
-rw-r--r--examples/rotation.c2
-rw-r--r--examples/simple.c2
-rw-r--r--examples/tablet.c2
-rw-r--r--examples/touch.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c
index d44df2a1..d6189f29 100644
--- a/examples/multi-pointer.c
+++ b/examples/multi-pointer.c
@@ -185,7 +185,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,
diff --git a/examples/output-layout.c b/examples/output-layout.c
index bc5cb7e9..a057ca78 100644
--- a/examples/output-layout.c
+++ b/examples/output-layout.c
@@ -183,7 +183,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,
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,
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,
diff --git a/examples/rotation.c b/examples/rotation.c
index cc1cfbb5..a2e868af 100644
--- a/examples/rotation.c
+++ b/examples/rotation.c
@@ -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,
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,
diff --git a/examples/tablet.c b/examples/tablet.c
index dd48983d..05fbc773 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -261,7 +261,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,
diff --git a/examples/touch.c b/examples/touch.c
index ae2dcf8f..5984c500 100644
--- a/examples/touch.c
+++ b/examples/touch.c
@@ -172,7 +172,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,