summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.12-kdesktop_lock_fix.patch
diff options
context:
space:
mode:
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
+