~mterry/lightdm/session-fallback

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Michael Terry, Robert Ancell
  • Date: 2013-10-28 19:03:01 UTC
  • mfrom: (1699.3.9 named-sessions)
  • Revision ID: tarmac-20131028190301-9tp3v2mxlock0al0
Set MIR_SERVER_NAME to assign a name to launched sessions.  Also use a "greeter-" prefix for greeter sessions for the benefit of unity-system-compositor.

Approved by PS Jenkins bot, Robert Ancell.

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
    desktop_session = getenv ("DESKTOP_SESSION");
216
216
    mir_socket = getenv ("MIR_SOCKET");
217
217
    mir_vt = getenv ("MIR_SERVER_VT");
218
 
    mir_id = getenv ("MIR_ID");
 
218
    mir_id = getenv ("MIR_SERVER_NAME");
219
219
    if (display)
220
220
    {
221
221
        if (display[0] == ':')