compositor-wayland: Handle keymap changes
This commit is contained in:
committed by
Kristian Høgsberg
parent
c6c2f8e655
commit
0c194ced57
@@ -517,7 +517,11 @@ input_handle_keymap(void *data, struct wl_keyboard *keyboard, uint32_t format,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
weston_seat_init_keyboard(&input->base, keymap);
|
if (input->base.keyboard)
|
||||||
|
weston_seat_update_keymap(&input->base, keymap);
|
||||||
|
else
|
||||||
|
weston_seat_init_keyboard(&input->base, keymap);
|
||||||
|
|
||||||
xkb_map_unref(keymap);
|
xkb_map_unref(keymap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user