tests: Handle modifier event in test-client.c
We need the handle the newly added modifiers event. https://bugs.freedesktop.org/show_bug.cgi?id=51567
This commit is contained in:
@@ -144,6 +144,14 @@ keyboard_handle_key(void *data, struct wl_keyboard *keyboard,
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
keyboard_handle_modifiers(void *data, struct wl_keyboard *keyboard,
|
||||||
|
uint32_t serial, uint32_t mods_depressed,
|
||||||
|
uint32_t mods_latched, uint32_t mods_locked,
|
||||||
|
uint32_t group)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static const struct wl_pointer_listener pointer_listener = {
|
static const struct wl_pointer_listener pointer_listener = {
|
||||||
pointer_handle_enter,
|
pointer_handle_enter,
|
||||||
pointer_handle_leave,
|
pointer_handle_leave,
|
||||||
@@ -157,6 +165,7 @@ static const struct wl_keyboard_listener keyboard_listener = {
|
|||||||
keyboard_handle_enter,
|
keyboard_handle_enter,
|
||||||
keyboard_handle_leave,
|
keyboard_handle_leave,
|
||||||
keyboard_handle_key,
|
keyboard_handle_key,
|
||||||
|
keyboard_handle_modifiers,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user