summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-07-08 11:01:49 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-08 13:23:16 +0200
commit5d0418f942e4280b3645d273b48fdf9ae1bfec5b (patch)
tree8f4777bca1219ce8a5523d217d048f5431cbe686 /x11-misc/sddm
parentmedia-libs/phonon: remove unused patch(es) (diff)
downloadgentoo-5d0418f942e4280b3645d273b48fdf9ae1bfec5b.tar.gz
gentoo-5d0418f942e4280b3645d273b48fdf9ae1bfec5b.tar.bz2
gentoo-5d0418f942e4280b3645d273b48fdf9ae1bfec5b.zip
x11-misc/sddm: remove unused patch
Diffstat (limited to 'x11-misc/sddm')
-rw-r--r--x11-misc/sddm/files/sddm-0.17.0-switchtogreeter.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/x11-misc/sddm/files/sddm-0.17.0-switchtogreeter.patch b/x11-misc/sddm/files/sddm-0.17.0-switchtogreeter.patch
deleted file mode 100644
index 22d2fa4ae9be..000000000000
--- a/x11-misc/sddm/files/sddm-0.17.0-switchtogreeter.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Subject: [PATCH] Fix switchToGreeter not available without logind
-From: Alexander Miller <alex.miller@gmx.de>
-
-Seats can't be created until SeatManager's signals are
-connected to the DisplayManager, or the latter won't see
-them and switchToGreeter doesn't work. So split SeatManager
-initialization from its constructor and call initialize it
-only after all connections have been set up in DaemonApp's
-constructor.
-
-With logind there may have been enough delay before seats
-got actually added so things would work, but it's still
-cleaner to fix the order.
-
-Fixes: https://bugs.gentoo.org/644718
-Fixes: https://github.com/sddm/sddm/issues/824
-
---- a/src/daemon/SeatManager.h
-+++ b/src/daemon/SeatManager.h
-@@ -31,8 +31,9 @@ namespace SDDM {
- class SeatManager : public QObject {
- Q_OBJECT
- public:
-- explicit SeatManager(QObject *parent = 0);
-+ explicit SeatManager(QObject *parent = 0) {}
-
-+ void initialize();
- void createSeat(const QString &name);
- void removeSeat(const QString &name);
- void switchToGreeter(const QString &seat);
---- a/src/daemon/SeatManager.cpp
-+++ b/src/daemon/SeatManager.cpp
-@@ -93,8 +93,7 @@ namespace SDDM {
- }
- }
-
-- SeatManager::SeatManager(QObject *parent) : QObject(parent) {
--
-+ void SeatManager::initialize() {
- if (DaemonApp::instance()->testing() || !Logind::isAvailable()) {
- //if we don't have logind/CK2, just create a single seat immediately and don't do any other connections
- createSeat(QStringLiteral("seat0"));
---- a/src/daemon/DaemonApp.cpp
-+++ b/src/daemon/DaemonApp.cpp
-@@ -75,6 +75,9 @@ namespace SDDM {
-
- // log message
- qDebug() << "Starting...";
-+
-+ // initialize seats only after signals are connected
-+ m_seatManager->initialize();
- }
-
- bool DaemonApp::testing() const {