Repaint the frame as well - fixes a bug where frame would stay on screen after turning off magnifier
svn path=/trunk/KDE/kdebase/workspace/; revision=712470
This commit is contained in:
parent
12a90ad01a
commit
70f5fd34bb
1 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,10 @@ void MagnifierEffect::paintScreen( int mask, QRegion region, ScreenPaintData& da
|
||||||
void MagnifierEffect::postPaintScreen()
|
void MagnifierEffect::postPaintScreen()
|
||||||
{
|
{
|
||||||
if( zoom != target_zoom )
|
if( zoom != target_zoom )
|
||||||
effects->addRepaint( magnifierArea());
|
{
|
||||||
|
QRect framedarea = magnifierArea().adjusted( -FRAME_WIDTH, -FRAME_WIDTH, FRAME_WIDTH, FRAME_WIDTH );
|
||||||
|
effects->addRepaint( framedarea );
|
||||||
|
}
|
||||||
effects->postPaintScreen();
|
effects->postPaintScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue