diff options
author | Jan Chren <dev.rindeal+github.com@gmail.com> | 2019-05-22 15:25:42 +0200 |
---|---|---|
committer | Jan Chren (rindeal) <dev.rindeal@gmail.com> | 2019-05-22 15:43:07 +0200 |
commit | 151b7d1d940a4dc732f23bbb7535f5c3a13c7657 (patch) | |
tree | ebee5e175d7127aa5f7b2ca1d3219ef0c391a885 /util | |
parent | aa39dbd1e7a3fe9b6bcb6bcc6897d90b0b5fda73 (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