[neon/3rdparty/sddm/Neon/unstable] debian/patches: add patch from https://github.com/sddm/sddm/pull/1437

Jonathan Riddell null at kde.org
Mon Aug 23 09:56:55 BST 2021


Git commit c9d67dd8dd3971a815bdf06fb47fef876d381c28 by Jonathan Riddell.
Committed on 23/08/2021 at 08:56.
Pushed by jriddell into branch 'Neon/unstable'.

add patch from https://github.com/sddm/sddm/pull/1437

A  +15   -0    debian/patches/new-vt.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/3rdparty/sddm/commit/c9d67dd8dd3971a815bdf06fb47fef876d381c28

diff --git a/debian/patches/new-vt.diff b/debian/patches/new-vt.diff
new file mode 100644
index 0000000..fbbd338
--- /dev/null
+++ b/debian/patches/new-vt.diff
@@ -0,0 +1,15 @@
+Index: sddm-0.19.0+p20.04+tunstable+git20210813.0153/src/daemon/Display.cpp
+===================================================================
+--- sddm-0.19.0+p20.04+tunstable+git20210813.0153.orig/src/daemon/Display.cpp
++++ sddm-0.19.0+p20.04+tunstable+git20210813.0153/src/daemon/Display.cpp
+@@ -369,7 +369,9 @@ namespace SDDM {
+         m_sessionName = session.fileName();
+ 
+         // New VT
+-        m_lastSession.setVt(VirtualTerminal::setUpNewVt());
++	if (session.xdgSessionType() != QLatin1String("x11") || m_displayServerType != X11DisplayServerType) {
++            m_lastSession.setVt(VirtualTerminal::setUpNewVt());
++        }
+ 
+         // some information
+         qDebug() << "Session" << m_sessionName << "selected, command:" << session.exec();
diff --git a/debian/patches/series b/debian/patches/series
index e02a20a..3e88a16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 02_kubuntu_use_breeze.diff
 05_add_debian_themes.diff
 06_nvidia_prime_setup.diff
+new-vt.diff


More information about the Neon-commits mailing list