Add some missing repaints
svn path=/trunk/KDE/kdebase/workspace/; revision=1049601
This commit is contained in:
parent
e833c61fc3
commit
b95daae72a
1 changed files with 4 additions and 2 deletions
|
@ -204,9 +204,10 @@ void DesktopGridEffect::paintScreen( int mask, QRegion region, ScreenPaintData&
|
||||||
|
|
||||||
void DesktopGridEffect::postPaintScreen()
|
void DesktopGridEffect::postPaintScreen()
|
||||||
{
|
{
|
||||||
if( activated ? timeline.value() != 1 :
|
if( activated ? timeline.value() != 1 : timeline.value() != 0 )
|
||||||
(timeline.value() != 0 || (isUsingPresentWindows() && isMotionManagerMovingWindows())) )
|
|
||||||
effects->addRepaintFull(); // Repaint during zoom
|
effects->addRepaintFull(); // Repaint during zoom
|
||||||
|
if( isUsingPresentWindows() && isMotionManagerMovingWindows() )
|
||||||
|
effects->addRepaintFull();
|
||||||
if( activated )
|
if( activated )
|
||||||
{
|
{
|
||||||
for( int i = 0; i < effects->numberOfDesktops(); i++ )
|
for( int i = 0; i < effects->numberOfDesktops(); i++ )
|
||||||
|
@ -559,6 +560,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
|
||||||
WindowMotionManager& manager = m_managers[ (windowMove->desktop()-1)*(effects->numScreens()) + windowMove->screen() ];
|
WindowMotionManager& manager = m_managers[ (windowMove->desktop()-1)*(effects->numScreens()) + windowMove->screen() ];
|
||||||
manager.manage( windowMove );
|
manager.manage( windowMove );
|
||||||
m_proxy->calculateWindowTransformations( manager.managedWindows(), windowMove->screen(), manager );
|
m_proxy->calculateWindowTransformations( manager.managedWindows(), windowMove->screen(), manager );
|
||||||
|
effects->addRepaintFull();
|
||||||
}
|
}
|
||||||
windowMove = NULL;
|
windowMove = NULL;
|
||||||
XDefineCursor( display(), input, QCursor( Qt::PointingHandCursor ).handle() );
|
XDefineCursor( display(), input, QCursor( Qt::PointingHandCursor ).handle() );
|
||||||
|
|
Loading…
Reference in a new issue