aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-17 14:49:18 +0100
committeremersion <contact@emersion.fr>2018-06-17 14:49:18 +0100
commit57548b557ae9e4f2b03c2d78996706f0990ab9d6 (patch)
tree85d7ae8d5d3f302d16914690f8e30e40e8ba0969 /backend/libinput
parentbd0c1b794992bf94560bd429f4057c9d09989f06 (diff)
parentfb118ac9966bbb663ddb9964f54c879a0bb88fba (diff)
Merge branch 'master' into screencontent
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;
}