Comment 2 for bug 978428

Revision history for this message
Matt Fischer (mfisch) wrote :

I should add that there are two places where the default-session hint is set:

src/display.c: greeter_set_hint (display->priv->greeter, "default-session", display->priv->user_session);

What I don't see is the relationship between the user-session value in the config file and that setting of the hint. The only time that display->priv->user_session is set is when the user selects a new session inside this code:

display_set_user_session (Display *display, const gchar *session_name) {
...
    display->priv->user_session = g_strdup (session_name);
}

And that code only gets called when a session other than default is requested.