diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2013-12-03 09:14:26 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-12-03 08:38:25 -0800 |
commit | 7395ea05c7d38a5611572527802a0cffa535529d (patch) | |
tree | 0f5ff44437a7a4e55c00258d3452e1e0033e01ba /src/text-backend.c | |
parent | 918f2dd4cfb8b177f67b45653efbbe4325cbe9dc (diff) | |
download | weston-7395ea05c7d38a5611572527802a0cffa535529d.tar.gz |
input: Move the xkb fields from weston_seat to weston_keyboard
XKB integration is a keyboard feature and should as such be kept track
of in the keyboard struct.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Diffstat (limited to 'src/text-backend.c')
-rw-r--r-- | src/text-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text-backend.c b/src/text-backend.c index 107ccd63..59a8b946 100644 --- a/src/text-backend.c +++ b/src/text-backend.c @@ -598,8 +598,8 @@ input_method_context_grab_keyboard(struct wl_client *client, context->keyboard = cr; wl_keyboard_send_keymap(cr, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, - seat->xkb_info->keymap_fd, - seat->xkb_info->keymap_size); + keyboard->xkb_info->keymap_fd, + keyboard->xkb_info->keymap_size); if (keyboard->grab != &keyboard->default_grab) { weston_keyboard_end_grab(keyboard); |