Repaint also frame.
svn path=/branches/work/kwin_composite/; revision=656786
This commit is contained in:
parent
3f5213101d
commit
c7956a951a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue