input: add weston_keyboard_send_keymap helper function
We've always had "send_keymap" internally, but some places failed to use it. Since we also use this in the text backend, export it. Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -680,9 +680,7 @@ input_method_context_grab_keyboard(struct wl_client *client,
|
||||
|
||||
context->keyboard = cr;
|
||||
|
||||
wl_keyboard_send_keymap(cr, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1,
|
||||
keyboard->xkb_info->keymap_fd,
|
||||
keyboard->xkb_info->keymap_size);
|
||||
weston_keyboard_send_keymap(keyboard, cr);
|
||||
|
||||
if (keyboard->grab != &keyboard->default_grab) {
|
||||
weston_keyboard_end_grab(keyboard);
|
||||
|
||||
Reference in New Issue
Block a user