Commit 0a7acab2 authored by David Edmundson's avatar David Edmundson
Browse files

Defer session startup until KAMD is up

Otherwise we can session restore occur before kwin has loaded
activities. This means kwin will fail to put windows back on the correct

Races are avoided because ksmserver will then make a blocking DBus call
to kwin on session restore. DBus guarantees order so it will have also
dispatched the service status to kwin and we know kwin will have handle
that first.

CCBUG: 456873

Testing done:
Added "sleep(10)" into the main function. Everything resumed on the
correct activities.
parent c562bf65
Pipeline #212818 passed with stage
in 2 minutes and 7 seconds
Description=KActivityManager Activity manager Service
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment