summaryrefslogtreecommitdiff
path: root/src/systemd/sd-login.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-04-09 21:22:48 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-04-09 21:22:48 +0200
commit9541666b8d97f107335dd7e3cb93b4d2cfbf19c9 (patch)
tree4c4b424ca5c6c73286a623a18020e1711cbe3c24 /src/systemd/sd-login.h
parent13468826f2457cae45a79649e122deadb9dc9774 (diff)
downloadsystemd-9541666b8d97f107335dd7e3cb93b4d2cfbf19c9.tar.gz
login: add 'mir' to the list of session types
Add Mir to the list of session types. This is implemented for LightDM in lp:~robert-ancell/lightdm/xdg-session-desktop [1]. [1] https://code.launchpad.net/~robert-ancell/lightdm/xdg-session-desktop/+merge/214108 (david: adjusted commit-header and fixed whitespace issues)
Diffstat (limited to 'src/systemd/sd-login.h')
-rw-r--r--src/systemd/sd-login.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h
index a4ca231174..776733ad1d 100644
--- a/src/systemd/sd-login.h
+++ b/src/systemd/sd-login.h
@@ -138,7 +138,7 @@ int sd_session_get_seat(const char *session, char **seat);
/* Determine the (PAM) service name this session was registered by. */
int sd_session_get_service(const char *session, char **service);
-/* Determine the type of this session, i.e. one of "tty", "x11" or "unspecified". */
+/* Determine the type of this session, i.e. one of "tty", "x11", "wayland", "mir" or "unspecified". */
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". */