Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 295811
Collapse All | Expand All

(-)trunk/KDE/kdebase/workspace/kwin/effects/logout/logout.cpp (-5 / +7 lines)
Lines 110-120 Link Here
110
            frameDelay = 2;
110
            frameDelay = 2;
111
            }
111
            }
112
        }
112
        }
113
#endif
114
113
115
    if( frameDelay )
114
    if( frameDelay )
116
        --frameDelay;
115
        --frameDelay;
117
    else
116
    else
117
#endif
118
        {
118
        {
119
        if( logoutWindow != NULL && !logoutWindowClosed )
119
        if( logoutWindow != NULL && !logoutWindowClosed )
120
            progress = qMin( 1.0, progress + time / animationTime( 2000.0 ));
120
            progress = qMin( 1.0, progress + time / animationTime( 2000.0 ));
Lines 234-247 Link Here
234
234
235
void LogoutEffect::postPaintScreen()
235
void LogoutEffect::postPaintScreen()
236
    {
236
    {
237
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
237
    if(( progress != 0.0 && progress != 1.0 ) || frameDelay )
238
    if(( progress != 0.0 && progress != 1.0 ) || frameDelay )
238
        {
239
        effects->addRepaintFull();
239
        effects->addRepaintFull();
240
        }
240
#else
241
    if( progress != 0.0 && progress != 1.0 )
242
        effects->addRepaintFull();
243
#endif
244
241
    if( progress > 0.0 )
245
    if( progress > 0.0 )
242
        {
243
        logoutWindowPassed = false;
246
        logoutWindowPassed = false;
244
        }
245
    effects->postPaintScreen();
247
    effects->postPaintScreen();
246
    }
248
    }
247
249

Return to bug 295811