Changeset View
Changeset View
Standalone View
Standalone View
startkde/startplasma-waylandsession.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 23 | { | |||
---|---|---|---|---|---|
51 | } | 51 | } | ||
52 | setupGSLib(); | 52 | setupGSLib(); | ||
53 | 53 | | |||
54 | if (!syncDBusEnvironment()) { | 54 | if (!syncDBusEnvironment()) { | ||
55 | out << "Could not sync environment to dbus.\n"; | 55 | out << "Could not sync environment to dbus.\n"; | ||
56 | return 2; | 56 | return 2; | ||
57 | } | 57 | } | ||
58 | 58 | | |||
59 | if (!startKSMServer(true)) | 59 | if (!startPlasmaSession(true)) | ||
60 | return 4; | 60 | return 4; | ||
61 | 61 | | |||
62 | // Anything after here is logout | 62 | // Anything after here is logout | ||
63 | // It is not called after shutdown/restart | 63 | // It is not called after shutdown/restart | ||
64 | waitForKonqi(); | 64 | waitForKonqi(); | ||
65 | out << "startplasma-waylandsession: Shutting down...\n"; | 65 | out << "startplasma-waylandsession: Shutting down...\n"; | ||
66 | 66 | | |||
67 | runSync(QStringLiteral("kdeinit5_shutdown"), {}); | 67 | runSync(QStringLiteral("kdeinit5_shutdown"), {}); | ||
68 | 68 | | |||
69 | cleanupX11(); | 69 | cleanupX11(); | ||
70 | out << "startplasma-waylandsession: Done.\n"; | 70 | out << "startplasma-waylandsession: Done.\n"; | ||
71 | 71 | | |||
72 | return 0; | 72 | return 0; | ||
73 | } | 73 | } |