os: Try to discover the current seat with the XDG_SEAT var first
This commit is contained in:
parent
246ae00ba3
commit
ca1dfdc9aa
|
@ -681,6 +681,7 @@ ProcessCommandLine(int argc, char *argv[])
|
||||||
ErrorF("Failed to disable listen for %s transport",
|
ErrorF("Failed to disable listen for %s transport",
|
||||||
defaultNoListenList[i]);
|
defaultNoListenList[i]);
|
||||||
}
|
}
|
||||||
|
SeatId = getenv("XDG_SEAT");
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
/* call ddx first, so it can peek/override if it wants */
|
/* call ddx first, so it can peek/override if it wants */
|
||||||
|
|
Loading…
Reference in New Issue