summaryrefslogtreecommitdiff
path: root/user/sddm/authed.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-08-19 22:26:54 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commit40526154b709a62f45c832c02fb5d1ef56e16754 (patch)
treed0551f5e9fb34557ac3d16b62d1c24e0568e7e07 /user/sddm/authed.patch
parentc27ed30b35be8092053a8e7210d10b4e0a8792e8 (diff)
downloadpackages-40526154b709a62f45c832c02fb5d1ef56e16754.tar.gz
packages-40526154b709a62f45c832c02fb5d1ef56e16754.tar.bz2
packages-40526154b709a62f45c832c02fb5d1ef56e16754.tar.xz
packages-40526154b709a62f45c832c02fb5d1ef56e16754.zip
user/sddm: Update to 0.19.0
Fixes: #368, #646
Diffstat (limited to 'user/sddm/authed.patch')
-rw-r--r--user/sddm/authed.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/sddm/authed.patch b/user/sddm/authed.patch
new file mode 100644
index 000000000..fe76652f8
--- /dev/null
+++ b/user/sddm/authed.patch
@@ -0,0 +1,32 @@
+From b2520c9fdeff081b1ac66a4a15289cedfa6944b9 Mon Sep 17 00:00:00 2001
+From: Fabian Vogt <fabian@ritter-vogt.de>
+Date: Wed, 9 Dec 2020 19:33:08 +0100
+Subject: [PATCH] Emit XorgDisplayServer::started only when the auth file is
+ ready
+
+---
+ src/daemon/XorgDisplayServer.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
+index 3a7bee0d8..331adcda7 100644
+--- a/src/daemon/XorgDisplayServer.cpp
++++ b/src/daemon/XorgDisplayServer.cpp
+@@ -219,8 +219,6 @@ namespace SDDM {
+ // close our pipe
+ close(pipeFds[0]);
+
+- emit started();
+-
+ // The file is also used by the greeter, which does care about the
+ // display number. Write the proper entry, if it's different.
+ if(m_display != QStringLiteral(":0")) {
+@@ -232,6 +230,8 @@ namespace SDDM {
+ }
+ changeOwner(m_authPath);
+
++ emit started();
++
+ // set flag
+ m_started = true;
+