mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 08:30:07 +01:00
Add keymap argument to weston_seat_init_keyboard
This allows backends to generate their own keymaps and pass them in for use rather than always forcing a single global keymap, which is particularly useful for nested compositors. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
619215f6ce
commit
37f83e2666
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ evdev_configure_device(struct evdev_input_device *device)
|
|||
(EVDEV_MOTION_ABS | EVDEV_MOTION_REL | EVDEV_BUTTON)))
|
||||
weston_seat_init_pointer(&device->master->base);
|
||||
if ((device->caps & EVDEV_KEYBOARD))
|
||||
weston_seat_init_keyboard(&device->master->base);
|
||||
weston_seat_init_keyboard(&device->master->base, NULL);
|
||||
if ((device->caps & EVDEV_TOUCH))
|
||||
weston_seat_init_touch(&device->master->base);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue