Ensure to not clip windows when painting the cube

BUG: 325432
FIXED-IN: 4.11.3
This commit is contained in:
Thomas Lübking 2013-10-02 21:36:06 +02:00
parent 57cc5e2954
commit d249075b5e

View file

@ -1323,6 +1323,7 @@ void CubeEffect::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPa
GLShader *shader = NULL;
QMatrix4x4 origMatrix;
if (activated && cube_painting) {
region= infiniteRegion(); // we need to explicitly prevent any clipping, bug #325432
shader = shaderManager->pushShader(ShaderManager::GenericShader);
//kDebug(1212) << w->caption();
float opacity = cubeOpacity;