diff options
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-login.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 879e0744a8..2f3c90c129 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -96,6 +96,9 @@ int sd_session_get_type(const char *session, char **type); /* Determine the class of this session, i.e. one of "user", "greeter" or "lock-screen". */ int sd_session_get_class(const char *session, char **class); +/* Determine the X11 display of this session. */ +int sd_session_get_display(const char *session, char **display); + /* Return active session and user of seat */ int sd_seat_get_active(const char *seat, char **session, uid_t *uid); |