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>
This commit is contained in:
parent
3e0d510b2c
commit
e5b018def8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue