<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16225">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Everything related to Plasma startup goes in Startup everything relating<br />
to X session management stays in KSMServer. Restoring the window<br />
manager currently stays inside ksmserver as it passes the session ID as<br />
an argument and at various points checks if something the client is the<br />
WM.<br />
Relevant methods move to server.cpp to keep one class per cpp file.</p>
<p>KSMServer gains some signals as it can no longer call the startup methods<br />
directly to continue the process.</p>
<p>This is part of a cleanup series in ksmserver. (The friend class will disappear<br />
in the next commit)</p>
<p>Behaviour should remain identical.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Logged in on X</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16225">https://phabricator.kde.org/D16225</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>ksmserver/main.cpp<br />
ksmserver/server.cpp<br />
ksmserver/server.h<br />
ksmserver/startup.cpp<br />
ksmserver/startup.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>