summaryrefslogblamecommitdiff
path: root/user/sddm/ck2-support.patch
blob: 5dafe02b3814322e3f2708d73d9b4a9ed18c0516 (plain) (tree)






























                                                                                                                                                                                                               
--- 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)));
     }