diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-07-28 13:41:17 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-07-29 08:16:14 -0400 |
commit | 5eeb067838ff588eb1bc328499ecfe4c3c43b3fb (patch) | |
tree | e752ce51350215dd5c43a29af20eb4093a25e246 /examples/shared.h | |
parent | b1ec0dce3a8c5def94e497dd8b16f59a2038c0ed (diff) |
Correctly get session path
The old way of getting the session path was to simply append the session id to
the path "/org/freedesktop/login1/session/". However this is not the correct
path for newer systems like Fedora 26.
Instead, get the session path directly from the session manager from the id via
a dbus call to GetSession().
fixes #35
Diffstat (limited to 'examples/shared.h')
0 files changed, 0 insertions, 0 deletions