From e6750d5ba45cc90bcbdf38a8408f7aba08c8560c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 23 Dec 2010 16:28:41 +0000 Subject: [PATCH] Forward port rev 1208899 Trigger also new geometry for repaint on cursor change CCBUG: 260727 svn path=/trunk/KDE/kdebase/workspace/; revision=1208901 --- effects/startupfeedback/startupfeedback.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/startupfeedback/startupfeedback.cpp b/effects/startupfeedback/startupfeedback.cpp index 5ddd735ef7..89f669e4d6 100644 --- a/effects/startupfeedback/startupfeedback.cpp +++ b/effects/startupfeedback/startupfeedback.cpp @@ -201,7 +201,7 @@ void StartupFeedbackEffect::paintScreen( int mask, QRegion region, ScreenPaintDa glActiveTexture( GL_TEXTURE0 ); glTexParameterfv( GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, color ); } - texture->render( region, m_currentGeometry ); + texture->render( m_currentGeometry, m_currentGeometry ); if( m_type == BlinkingFeedback ) { // resture states @@ -249,6 +249,7 @@ void StartupFeedbackEffect::mouseChanged(const QPoint& pos, const QPoint& oldpos if( m_active ) { effects->addRepaint( m_currentGeometry ); + effects->addRepaint( feedbackRect() ); } }