~ci-train-bot/lightdm/lightdm-ubuntu-zesty-1679

« back to all changes in this revision

Viewing changes to tests/src/test-session.c

  • Committer: Robert Ancell
  • Date: 2015-07-28 08:38:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: robert.ancell@canonical.com-20150728083840-0c0rt3j8sl7mwhvo
Support Wayland sessions / greeters

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
        session_id = g_strdup_printf ("SESSION-MIR-%s", mir_id);
257
257
    else if (mir_socket || mir_vt)
258
258
        session_id = g_strdup ("SESSION-MIR");
 
259
    else if (g_strcmp0 (xdg_session_type, "wayland") == 0)
 
260
        session_id = g_strdup ("SESSION-WAYLAND");
259
261
    else
260
262
        session_id = g_strdup ("SESSION-UNKNOWN");
261
263