From ca1dfdc9aa4b548de624d3a9af5147a998ba3d79 Mon Sep 17 00:00:00 2001 From: nerdopolis Date: Fri, 8 Oct 2021 18:15:29 -0400 Subject: [PATCH] os: Try to discover the current seat with the XDG_SEAT var first --- os/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/os/utils.c b/os/utils.c index 92a66e81a..c9a8e7367 100644 --- a/os/utils.c +++ b/os/utils.c @@ -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 */