From fd8aae5abc3d2af171dbeba053cdb2c783123bdb Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 13 Aug 2011 02:37:41 +0000 Subject: Fix old style logout fade git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246835 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmserver/shutdowndlg.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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(); -- cgit v1.2.1