From c7956a951a2dfbd1822b7cb5de142eb05e29a9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 22 Apr 2007 11:24:37 +0000 Subject: [PATCH] Repaint also frame. svn path=/branches/work/kwin_composite/; revision=656786 --- effects/magnifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/magnifier.cpp b/effects/magnifier.cpp index b421bb7a46..a5bdf54319 100644 --- a/effects/magnifier.cpp +++ b/effects/magnifier.cpp @@ -141,7 +141,7 @@ void MagnifierEffect::toggle() void MagnifierEffect::mouseChanged( const QPoint& pos, const QPoint& old, Qt::MouseButtons, Qt::KeyboardModifiers ) { if( pos != old && zoom != 1 ) - effects->addRepaint( magnifierArea()); + effects->addRepaint( magnifierArea().adjusted( -FRAME_WIDTH, -FRAME_WIDTH, FRAME_WIDTH, FRAME_WIDTH )); } } // namespace