[ksmserver] Split startup into separate class
ClosedPublic

Authored by davidedmundson on Oct 15 2018, 1:56 PM.

Details

Summary

Everything related to Plasma startup goes in Startup everything relating
to X session management stays in KSMServer. Restoring the window
manager currently stays inside ksmserver as it passes the session ID as
an argument and at various points checks if something the client is the
WM.
Relevant methods move to server.cpp to keep one class per cpp file.

KSMServer gains some signals as it can no longer call the startup methods
directly to continue the process.

This is part of a cleanup series in ksmserver. (The friend class will disappear
in the next commit)

Behaviour should remain identical.

Test Plan

Logged in on X

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Oct 15 2018, 1:56 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 15 2018, 1:56 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Oct 15 2018, 1:56 PM
graesslin accepted this revision.Oct 15 2018, 3:32 PM
This revision is now accepted and ready to land.Oct 15 2018, 3:32 PM

Remove unused enum value in startup

This revision was automatically updated to reflect the committed changes.