Previously, PrivateGLScreen::paintBackground () painted with color (0, 0, 0, 0), which does not make sense to me. Change it to paint with (0, 0, 0, 1.0) to actually paint black.
When running only a single xterm on compiz, moving the xterm window around would leave trails of the terminal's text all over the screen. It happens only, if a background picture is not set. This patch fixes the trails on the background, but not within xterm's window. Signed-off-by: Pekka Paalanen <[email protected]> --- plugins/opengl/src/paint.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/plugins/opengl/src/paint.cpp b/plugins/opengl/src/paint.cpp index 470234e..1627968 100644 --- a/plugins/opengl/src/paint.cpp +++ b/plugins/opengl/src/paint.cpp @@ -125,7 +125,8 @@ PrivateGLScreen::paintBackground (const GLMatrix &transform, pBox++; } - colorData[0] = colorData[1] = colorData[2] = colorData[3] = 0; + colorData[0] = colorData[1] = colorData[2] = 0; + colorData[3] = 65535; streamingBuffer->addColors (1, colorData); streamingBuffer->end (); -- 1.7.3.4 _______________________________________________ dev mailing list [email protected] http://lists.compiz.org/mailman/listinfo/dev
