Repaint also frame.

svn path=/branches/work/kwin_composite/; revision=656786
This commit is contained in:
Luboš Luňák 2007-04-22 11:24:37 +00:00
parent 3f5213101d
commit c7956a951a

View file

@ -141,7 +141,7 @@ void MagnifierEffect::toggle()
void MagnifierEffect::mouseChanged( const QPoint& pos, const QPoint& old, Qt::MouseButtons, Qt::KeyboardModifiers ) void MagnifierEffect::mouseChanged( const QPoint& pos, const QPoint& old, Qt::MouseButtons, Qt::KeyboardModifiers )
{ {
if( pos != old && zoom != 1 ) if( pos != old && zoom != 1 )
effects->addRepaint( magnifierArea()); effects->addRepaint( magnifierArea().adjusted( -FRAME_WIDTH, -FRAME_WIDTH, FRAME_WIDTH, FRAME_WIDTH ));
} }
} // namespace } // namespace