diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-01-02 23:32:28 +0100 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-01-02 23:32:28 +0100 |
commit | 865f39ca00d9be57738b8ce978cfdd9bf460392d (patch) | |
tree | eb2bdedc687f51091e5e8a3068c3b47651bfdd4e /redhat/kdebase/kdebase-3.5.12-kdesktop_lock_fix.patch | |
parent | 6d4bf0b7b6ab290b3812335012c03dd07a440893 (diff) | |
download | tde-packaging-865f39ca00d9be57738b8ce978cfdd9bf460392d.tar.gz tde-packaging-865f39ca00d9be57738b8ce978cfdd9bf460392d.zip |
RHEL/Fedora: lots of patches for kdebase
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.12-kdesktop_lock_fix.patch')
-rw-r--r-- | redhat/kdebase/kdebase-3.5.12-kdesktop_lock_fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.12-kdesktop_lock_fix.patch b/redhat/kdebase/kdebase-3.5.12-kdesktop_lock_fix.patch new file mode 100644 index 000000000..0acc11659 --- /dev/null +++ b/redhat/kdebase/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 + |