aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJan Chren <dev.rindeal+github.com@gmail.com>2019-05-22 15:25:42 +0200
committerJan Chren (rindeal) <dev.rindeal@gmail.com>2019-05-22 15:43:07 +0200
commit151b7d1d940a4dc732f23bbb7535f5c3a13c7657 (patch)
treeebee5e175d7127aa5f7b2ca1d3219ef0c391a885 /util
parentaa39dbd1e7a3fe9b6bcb6bcc6897d90b0b5fda73 (diff)
session/logind: check for XDG_SESSION_ID first
In order to support compositors running as systemd user units without display manager, a mechanism for specifying session ID exactly must exist. Checking for `XDG_SESSION_ID` mimics loginctl behaviour https://github.com/systemd/systemd/blob/e95be7def26c6c5feaf08a4135aa4f50c53263a8/src/login/loginctl.c#L856.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions