aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-06-14 20:46:16 +1200
committerScott Anderson <scott@anderso.nz>2018-06-14 20:46:16 +1200
commit47985d2dc56a6af469ac9375e7548136765aff16 (patch)
tree59d2cd44330ddd9b61627daecb7b6fca57838d99 /backend/libinput
parent9a1f0e2d5fe56870f3bd7d12113742766e89f4e6 (diff)
Multiseat fixes
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c
index f4d54c97..1dde5854 100644
--- a/backend/libinput/backend.c
+++ b/backend/libinput/backend.c
@@ -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;
}