From 9541666b8d97f107335dd7e3cb93b4d2cfbf19c9 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 9 Apr 2014 21:22:48 +0200 Subject: 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) --- src/login/logind-session.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login/logind-session.c') diff --git a/src/login/logind-session.c b/src/login/logind-session.c index 4ca6b5d805..b4fd349f00 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -1117,6 +1117,7 @@ static const char* const session_type_table[_SESSION_TYPE_MAX] = { [SESSION_TTY] = "tty", [SESSION_X11] = "x11", [SESSION_WAYLAND] = "wayland", + [SESSION_MIR] = "mir", }; DEFINE_STRING_TABLE_LOOKUP(session_type, SessionType); -- cgit v1.2.3-54-g00ecf