~mterry/unity-system-compositor/greeter-api

« back to all changes in this revision

Viewing changes to src/system_compositor.cpp

  • Committer: Robert Ancell
  • Date: 2013-04-23 23:29:16 UTC
  • Revision ID: robert.ancell@canonical.com-20130423232916-372aq731y3qyh7np
Remove mir::shell::Session.name() workaround

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    std::shared_ptr<msh::Session> session;
64
64
    config->the_shell_session_container()->for_each([&client_name, &session](std::shared_ptr<msh::Session> const& s)
65
65
    {
66
 
        if (static_cast<std::shared_ptr<mf::Session>>(s)->name() == client_name)
 
66
        if (s->name() == client_name)
67
67
            session = s;
68
68
    });
69
69