summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch')
-rw-r--r--redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch b/redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch
new file mode 100644
index 000000000..0acc11659
--- /dev/null
+++ b/redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch
@@ -0,0 +1,22 @@
+--- kdebase-3.5.12/kdesktop/lock/lockprocess.cc.ORI 2011-12-21 18:40:05.553301746 +0100
++++ kdebase-3.5.12/kdesktop/lock/lockprocess.cc 2011-12-21 18:43:01.643590270 +0100
+@@ -1045,17 +1045,13 @@
+ mHackProc << word;
+ }
+
+- if (!mForbidden)
++ if (!mForbidden && mHackProc.start() == true)
+ {
+-
+- if (mHackProc.start() == true)
+- {
+ #ifdef HAVE_SETPRIORITY
+ setpriority(PRIO_PROCESS, mHackProc.pid(), mPriority);
+ #endif
+ //bitBlt(this, 0, 0, &mOriginal);
+ return true;
+- }
+ }
+ else
+ // we aren't allowed to start the specified screensaver either because it didn't run for some reason
+