=== modified file 'plugins/ezoom/src/ezoom.cpp' --- plugins/ezoom/src/ezoom.cpp 2013-07-21 22:14:38 +0000 +++ plugins/ezoom/src/ezoom.cpp 2014-09-09 02:49:19 +0000 @@ -1164,6 +1164,7 @@ GLfloat textureData[8]; GLfloat vertexData[12]; GLVertexBuffer *streamingBuffer = GLVertexBuffer::streamingBuffer (); + const GLWindowPaintAttrib attrib = { OPAQUE, BRIGHT, COLOR, 0, 0, 0, 0 }; /* -KK */ sTransform.toScreenSpace (output, -DEFAULT_Z_CAMERA); convertToZoomed (out, mouse.x (), mouse.y (), &ax, &ay); @@ -1186,6 +1187,7 @@ glBindTexture (GL_TEXTURE_2D, cursor.texture); streamingBuffer->begin (GL_TRIANGLE_STRIP); + streamingBuffer->colorDefault (); /* -KK */ vertexData[0] = x; vertexData[1] = y; @@ -1214,7 +1216,7 @@ streamingBuffer->addTexCoords (0, 4, textureData); streamingBuffer->end (); - streamingBuffer->render (sTransform); + streamingBuffer->render (sTransform, attrib /* -KK */); glBindTexture (GL_TEXTURE_2D, 0); glDisable (GL_BLEND); @@ -1743,6 +1745,7 @@ CompAction::State state, CompOption::Vector options) { + zoomIn (action, state, options); if (state & CompAction::StateInitKey) @@ -1753,6 +1756,7 @@ toggleFunctions (true); + return true; }