mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-04 20:02:49 +00:00
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:
parent
e4d3a2bce6
commit
5085001f82
|
@ -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 = {
|
||||
pointer_handle_enter,
|
||||
pointer_handle_leave,
|
||||
|
@ -157,6 +165,7 @@ static const struct wl_keyboard_listener keyboard_listener = {
|
|||
keyboard_handle_enter,
|
||||
keyboard_handle_leave,
|
||||
keyboard_handle_key,
|
||||
keyboard_handle_modifiers,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue