diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-01 00:01:39 -0400 |
---|---|---|
committer | Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> | 2012-06-13 15:26:21 +1000 |
commit | e972da9d827c2e4a1c57ff87a7f2721dbf8d52c1 (patch) | |
tree | 59780e6e4ff38765257bef7d3272f34d2955464a | |
parent | de6494c1d9c35cdbc8119bf4559776e3b2d8b51f (diff) |
xwayland: Add wl_keyboard.modifiers stub
-rw-r--r-- | hw/xfree86/xwayland/xwayland-input.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/xfree86/xwayland/xwayland-input.c b/hw/xfree86/xwayland/xwayland-input.c index 38a34e07c..734e2c113 100644 --- a/hw/xfree86/xwayland/xwayland-input.c +++ b/hw/xfree86/xwayland/xwayland-input.c @@ -415,10 +415,20 @@ keyboard_handle_leave(void *data, struct wl_keyboard *keyboard, xf86PostKeyboardEvent(xwl_seat->keyboard, *k + 8, 0); } +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) +{ + /* FIXME: Figure this out... */ +} + static const struct wl_keyboard_listener keyboard_listener = { keyboard_handle_enter, keyboard_handle_leave, keyboard_handle_key, + keyboard_handle_modifiers, }; static void |