aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-03-29 16:41:09 -0300
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-04-03 13:21:56 -0300
commit58d5133683ef9d7c32c607ab2fb0b5acffba1feb (patch)
tree88891df6bdf02a739771cca6f05bc5baa7c1f57f
parent3e0d510b2c46eb18ab7239b029e01475eb2e3810 (diff)
noop: Return seat0 as the seat name
wlroots' libinput backend expects the name of the seat to either match ID_SEAT from udev, or in case ID_SEAT returns nothing, match seat0. As noop has no seat switching, always returning seat0 as the session name fixes that. Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
-rw-r--r--libseat/backend/noop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libseat/backend/noop.c b/libseat/backend/noop.c
index 7db8a55..141ffd9 100644
--- a/libseat/backend/noop.c
+++ b/libseat/backend/noop.c
@@ -46,7 +46,7 @@ static int disable_seat(struct libseat *base) {
static const char *seat_name(struct libseat *base) {
(void)base;
- return "noop";
+ return "seat0";
}
static int open_device(struct libseat *base, const char *path, int *fd) {