summaryrefslogtreecommitdiffstats
path: root/kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-07-31 16:13:18 +0200
committer Eric Hameleers <alien@slackware.com>2020-07-31 16:13:18 +0200
commit703149752c6265b36973d2c1f0f5a69721e3128a (patch)
tree7ded0d801771d5705f48ffbfb48f37dd4829439e /kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch
parentdd005500c624d127321ff3fe14a0c29bfa8d67f7 (diff)
parentcd7ff1719433fbb3b6a8304596be173bc1b91b00 (diff)
downloadktown-master.tar.gz
ktown-master.tar.xz
Merge branch 'elogind'HEADmaster
Diffstat (limited to 'kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch')
-rw-r--r--kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch b/kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch
deleted file mode 100644
index 492ef80..0000000
--- a/kde/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From: Martin Gräßlin <mgraesslin@kde.org>
-Date: Fri, 05 Feb 2016 09:30:19 +0000
-Subject: [greeter] Dont quit when last window closes
-X-Git-Url: http://quickgit.kde.org/?p=kscreenlocker.git&a=commitdiff&h=fae65f1cdd6446042b31ccd0eafd7a4c0b6623e3
----
-[greeter] Dont quit when last window closes
-
-Qt allows to have no screens. If all XRandR screens are disconnected
-there are also no QScreens. This is from an X11 perspective wrong, but
-we have to deal with it. No QScreens means that all views are destroyed
-and no new ones are created. Thus all windows close and the greeter
-exited successfully which in turn unlocked the screen.
-
-This change ensures that the greeter doesn't exit when all windows close.
-
-Funnily this was not a problem with the well known issue of Qt
-crashing when all screens are disconnected. The lock screen handles
-crashes gracefully and just restarts or more likely Qt also crashes
-the application using KSld and thus taking down the complete session.
-
-BUG: 358125
-FIXED-IN: 5.5.5
----
-
-
---- a/greeter/main.cpp
-+++ b/greeter/main.cpp
-@@ -59,6 +59,7 @@
- qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
- }
- ScreenLocker::UnlockApp app(argc, argv);
-+ app.setQuitOnLastWindowClosed(false);
- QCoreApplication::setApplicationName(QStringLiteral("kscreenlocker_greet"));
- QCoreApplication::setApplicationVersion(QStringLiteral("0.1"));
- QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
-