diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-22 17:06:41 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-22 17:10:56 -0500 |
commit | 8987be6fd7db8eb01d8bff69e947e12527e8d943 (patch) | |
tree | 43f3764b61c1294572ea05c249d0b9f7c5279f6c /user/sddm/ck2-support.patch | |
parent | 69e1aedcdb53aba1a74a79e515ea82db497eadf2 (diff) | |
download | packages-8987be6fd7db8eb01d8bff69e947e12527e8d943.tar.gz packages-8987be6fd7db8eb01d8bff69e947e12527e8d943.tar.bz2 packages-8987be6fd7db8eb01d8bff69e947e12527e8d943.tar.xz packages-8987be6fd7db8eb01d8bff69e947e12527e8d943.zip |
user/sddm: add ConsoleKit 2 support properly
Diffstat (limited to 'user/sddm/ck2-support.patch')
-rw-r--r-- | user/sddm/ck2-support.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/sddm/ck2-support.patch b/user/sddm/ck2-support.patch new file mode 100644 index 000000000..5dafe02b3 --- /dev/null +++ b/user/sddm/ck2-support.patch @@ -0,0 +1,31 @@ +--- sddm-0.16.0/src/daemon/LogindDBusTypes.cpp.old 2017-10-04 12:13:38.000000000 -0500 ++++ sddm-0.16.0/src/daemon/LogindDBusTypes.cpp 2017-10-22 17:09:43.693222846 -0500 +@@ -63,7 +63,7 @@ + available = true; + serviceName = QStringLiteral("org.freedesktop.ConsoleKit"); + managerPath = QStringLiteral("/org/freedesktop/ConsoleKit/Manager"); +- managerIfaceName = QStringLiteral("/org.freedesktop.ConsoleKit.Manager"); //note this doesn't match logind ++ managerIfaceName = QStringLiteral("org.freedesktop.ConsoleKit.Manager"); //note this doesn't match logind + seatIfaceName = QStringLiteral("org.freedesktop.ConsoleKit.Seat"); + sessionIfaceName = QStringLiteral("org.freedesktop.ConsoleKit.Session"); + userIfaceName = QStringLiteral("org.freedesktop.ConsoleKit.User"); +--- sddm-0.16.0/src/daemon/SeatManager.cpp.old 2017-10-04 12:13:38.000000000 -0500 ++++ sddm-0.16.0/src/daemon/SeatManager.cpp 2017-10-22 17:09:17.619956307 -0500 +@@ -102,7 +102,7 @@ + } + + //fetch seats +- auto listSeatsMsg = QDBusMessage::createMethodCall(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("ListSeats")); ++ auto listSeatsMsg = QDBusMessage::createMethodCall(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("GetSeats")); + QDBusPendingReply<NamedSeatPathList> reply = QDBusConnection::systemBus().asyncCall(listSeatsMsg); + + QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(reply); +@@ -113,7 +113,7 @@ + } + }); + +- QDBusConnection::systemBus().connect(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("SeatNew"), this, SLOT(logindSeatAdded(QString,QDBusObjectPath))); ++ QDBusConnection::systemBus().connect(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("SeatAdded"), this, SLOT(logindSeatAdded(QString,QDBusObjectPath))); + QDBusConnection::systemBus().connect(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("SeatRemoved"), this, SLOT(logindSeatRemoved(QString,QDBusObjectPath))); + } + |