Trigger also new geometry for repaint on cursor change
BUG: 260727 FIXED-IN: 4.6.0 svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1208899
This commit is contained in:
parent
9835858a4c
commit
6567566bed
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,7 @@ void StartupFeedbackEffect::paintScreen( int mask, QRegion region, ScreenPaintDa
|
||||||
glActiveTexture( GL_TEXTURE0 );
|
glActiveTexture( GL_TEXTURE0 );
|
||||||
glTexParameterfv( GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, color );
|
glTexParameterfv( GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, color );
|
||||||
}
|
}
|
||||||
texture->render( region, m_currentGeometry );
|
texture->render( m_currentGeometry, m_currentGeometry );
|
||||||
if( m_type == BlinkingFeedback )
|
if( m_type == BlinkingFeedback )
|
||||||
{
|
{
|
||||||
// resture states
|
// resture states
|
||||||
|
@ -249,6 +249,7 @@ void StartupFeedbackEffect::mouseChanged(const QPoint& pos, const QPoint& oldpos
|
||||||
if( m_active )
|
if( m_active )
|
||||||
{
|
{
|
||||||
effects->addRepaint( m_currentGeometry );
|
effects->addRepaint( m_currentGeometry );
|
||||||
|
effects->addRepaint( feedbackRect() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue