aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-06-24 18:16:42 -0400
committerTony Crisci <tony@dubstepdish.com>2018-06-24 18:16:42 -0400
commite8c0996b93c2d184d9d68ae4bee92dd4c469685c (patch)
treede9e94484a8f341836231af6d8a7daa3cd32d06e /backend/libinput
parent28d718c0ddd8f2ba083be374f3d97e4836f615d9 (diff)
parente459fe0ec713ea65b35b966f9bb3c6c70c9504aa (diff)
Merge branch 'master' into cancel-grab-on-focus-change
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;
}