[ksmserver] Split startup into separate class

Authored by davidedmundson on Oct 30 2018, 4:43 PM.

Description

[ksmserver] Split startup into separate class

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

Reviewers: Plasma, graesslin

Reviewed By: Plasma, graesslin

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D16225

Details

Committed
davidedmundsonOct 30 2018, 5:07 PM
Reviewer
Plasma
Differential Revision
D16225: [ksmserver] Split startup into separate class
Parents
R120:68538b6d451f: [ksmserver] Launch logout greeter with DBus methods
Branches
Unknown
Tags
Unknown