mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 01:59:56 +00:00
os: Try to discover the current seat with the XDG_SEAT var first
This commit is contained in:
committed by
Povilas Kanapickas
parent
246ae00ba3
commit
ca1dfdc9aa
@@ -681,6 +681,7 @@ ProcessCommandLine(int argc, char *argv[])
|
||||
ErrorF("Failed to disable listen for %s transport",
|
||||
defaultNoListenList[i]);
|
||||
}
|
||||
SeatId = getenv("XDG_SEAT");
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
/* call ddx first, so it can peek/override if it wants */
|
||||
|
||||
Reference in New Issue
Block a user