mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 10:08:00 +02:00
tests: check kbd init in the plugin
Check that the keyboard init in weston-test.so plugin succeeds. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
parent
f8da0c2552
commit
315bf8c5da
1 changed files with 2 additions and 1 deletions
|
|
@ -603,7 +603,8 @@ module_init(struct weston_compositor *ec,
|
|||
|
||||
/* add devices */
|
||||
weston_seat_init_pointer(&test->seat);
|
||||
weston_seat_init_keyboard(&test->seat, NULL);
|
||||
if (weston_seat_init_keyboard(&test->seat, NULL) < 0)
|
||||
return -1;
|
||||
weston_seat_init_touch(&test->seat);
|
||||
|
||||
loop = wl_display_get_event_loop(ec->wl_display);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue