summaryrefslogtreecommitdiffstats
path: root/ksmserver
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-13 02:37:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-13 02:37:41 +0000
commitfd8aae5abc3d2af171dbeba053cdb2c783123bdb (patch)
treeec8ac8b6a196b08cc55e6aa4b9d319928a843952 /ksmserver
parentf50ce50331053efe6b06b3917bf07a5a64398736 (diff)
downloadtdebase-fd8aae5abc3d2af171dbeba053cdb2c783123bdb.tar.gz
tdebase-fd8aae5abc3d2af171dbeba053cdb2c783123bdb.zip
Fix old style logout fade
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246835 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmserver')
-rw-r--r--ksmserver/shutdowndlg.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp
index d8741da4b..a75eef343 100644
--- a/ksmserver/shutdowndlg.cpp
+++ b/ksmserver/shutdowndlg.cpp
@@ -470,6 +470,13 @@ void KSMShutdownFeedback::slotPaintEffect()
return;
}
+ if ( m_currentY == 0 ) {
+ KPixmap pixmap;
+ pixmap = TQPixmap(TQPixmap::grabWindow( qt_xrootwin(), 0, 0, width(), height() ));
+ bitBlt( this, 0, 0, &pixmap );
+ bitBlt( &m_root, 0, 0, &pixmap );
+ }
+
KPixmap pixmap;
pixmap = TQPixmap(TQPixmap::grabWindow( qt_xrootwin(), 0, m_currentY, width(), 10 ));
TQImage image = pixmap.convertToImage();