aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-14 10:37:06 -0700
committerGitHub <noreply@github.com>2018-06-14 10:37:06 -0700
commit8e33deb0beb033dd1ddff86d6a071b1a5faa8fdb (patch)
tree49449ef103b82ffc2e6ef4bbf1cfc43d3f58a8f6 /backend/libinput
parentd27eeaa14c9a35c709f09de862aa6d4f0ef9ff83 (diff)
parent964e0a50beabe03d84f042209fc019909b631e05 (diff)
Merge pull request #1063 from ascent12/multi-seat
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;
}