From 5085001f82dd6c295b722602303abe574963d647 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 9 Jul 2012 22:17:03 -0400 Subject: [PATCH] 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 --- tests/test-client.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test-client.c b/tests/test-client.c index 4ec0f4a..6d7b4dc 100644 --- a/tests/test-client.c +++ b/tests/test-client.c @@ -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 -- 2.7.4