Do full repaints on window damage in boxswitch with GLES

Due to changes in the blur effect, the EffectFrame was flickering
with GLES. This can be worked around by doing full repaints whenever
a window is damagded while boxswitch is active with GLES. The problem
only occurs with the GLES backend due to the way how the buffers are
swapped.
BUG: 272688
icc-effect-5.14.5
Martin Gräßlin 2011-05-15 20:26:26 +02:00
parent 74accbd64a
commit 4365b077d5
1 changed files with 4 additions and 0 deletions

View File

@ -272,6 +272,10 @@ void BoxSwitchEffect::slotWindowDamaged(EffectWindow* w, const QRect& damage)
effects->addRepaint(desktops[ w->desktop()]->area);
}
}
#ifdef KWIN_HAVE_OPENGLES
// without full repaints, blur effect flickers on GLES, see BUG 272688
effects->addRepaintFull();
#endif
}
}