Force repaint of background on desktop switch when desktop lock is enabled

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253273 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent e29fcfc416
commit 94b61aed07

@ -1325,8 +1325,15 @@ void LockProcess::suspend()
void LockProcess::resume( bool force )
{
if( !force && (!mDialogs.isEmpty() || !mVisibility ))
return; // no resuming with dialog visible or when not visible
if( !force && (!mDialogs.isEmpty() || !mVisibility )) {
// no resuming with dialog visible or when not visible
if (backingPixmap.isNull())
setBackgroundColor(black);
else
setBackgroundPixmap(backingPixmap);
erase();
return;
}
if ((mSuspended) && (mHackProc.isRunning()))
{
XForceScreenSaver(qt_xdisplay(), ScreenSaverReset );

Loading…
Cancel
Save