diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-13 02:37:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-13 02:37:41 +0000 |
commit | fd8aae5abc3d2af171dbeba053cdb2c783123bdb (patch) | |
tree | ec8ac8b6a196b08cc55e6aa4b9d319928a843952 /ksmserver/shutdowndlg.cpp | |
parent | f50ce50331053efe6b06b3917bf07a5a64398736 (diff) | |
download | tdebase-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/shutdowndlg.cpp')
-rw-r--r-- | ksmserver/shutdowndlg.cpp | 7 |
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(); |