diff options
author | mnussbaum <michaelnussbaum08@gmail.com> | 2019-02-01 18:56:31 -0800 |
---|---|---|
committer | mnnussbaum <michaelnussbaum08@gmail.com> | 2019-02-03 18:45:32 -0800 |
commit | c138da233b618ab5d42e4810f1ad7f2e687f2a59 (patch) | |
tree | 1441337adac6927b62bb9262be71b103f7e0dc92 /include/backend/session | |
parent | 28f11aec3106c5d0528d1835055c82c4d571c286 (diff) |
Allow compositors to run as systemd user units
When a wlroots compositor runs as a systemd user unit there is no
session associated with the compositor process. Instead we need to
attach to an active and graphical user session.
This change first looks for an available session for the process, and if
there isn't one falls back to display in the oldest available graphical
session.
This work was modeled after a similar change to mutter -
https://gitlab.gnome.org/GNOME/mutter/merge_requests/150.
Diffstat (limited to 'include/backend/session')
0 files changed, 0 insertions, 0 deletions