Multiseat fixes

This commit is contained in:
Scott Anderson 2018-06-14 20:46:16 +12:00
parent 9a1f0e2d5f
commit 47985d2dc5
5 changed files with 50 additions and 29 deletions

View file

@ -55,8 +55,8 @@ static bool backend_start(struct wlr_backend *_backend) {
return false;
}
// TODO: Let user customize seat used
if (libinput_udev_assign_seat(backend->libinput_context, "seat0") != 0) {
if (libinput_udev_assign_seat(backend->libinput_context,
backend->session->seat) != 0) {
wlr_log(L_ERROR, "Failed to assign libinput seat");
return false;
}