summaryrefslogtreecommitdiff
path: root/user/libkworkspace/session.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-27 01:03:27 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-27 01:03:27 +0000
commite2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4 (patch)
treea3d7ccf0b97b147478cb769ebec33c19d77aca92 /user/libkworkspace/session.patch
parentc58edf8b9ac4367e08cad2a15987550d4e4a849a (diff)
downloadpackages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.gz
packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.bz2
packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.xz
packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.zip
user/[KDE Plasma]: Plasma 5.18 Beta
Diffstat (limited to 'user/libkworkspace/session.patch')
-rw-r--r--user/libkworkspace/session.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/libkworkspace/session.patch b/user/libkworkspace/session.patch
new file mode 100644
index 000000000..ec29807c1
--- /dev/null
+++ b/user/libkworkspace/session.patch
@@ -0,0 +1,23 @@
+--- libkworkspace/sessionmanagementbackend.cpp.old 2020-01-16 12:37:11.000000000 +0000
++++ libkworkspace/sessionmanagementbackend.cpp 2020-01-26 23:48:25.419351063 +0000
+@@ -77,6 +77,11 @@
+
+ /*********************************************************************************/
+
++bool LogindSessionBackend::exists()
++{
++ return QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.login1"));
++}
++
+ LogindSessionBackend::LogindSessionBackend()
+ {
+ m_login1 = new OrgFreedesktopLogin1ManagerInterface(QStringLiteral("org.freedesktop.login1"), QStringLiteral("/org/freedesktop/login1"), QDBusConnection::systemBus(), this);
+@@ -199,7 +204,7 @@
+
+ bool ConsoleKitSessionBackend::exists()
+ {
+- return QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.login1"));
++ return QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.ConosleKit"));
+ }
+
+ ConsoleKitSessionBackend::ConsoleKitSessionBackend()