[fusion-commits] Compiz mirror: Changes to 'master' (70383a40be3b846c2668be403558de6a54b76f8b)

compiz at server.opencompositing.org compiz at server.opencompositing.org
Tue May 6 20:21:07 CEST 2008


New commits:
commit 70383a40be3b846c2668be403558de6a54b76f8b
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date:   Tue May 6 20:20:14 2008 +0200

    Paint cube caps if a plugin wishes it by setting cs->paintAllViewports.


 plugins/cube.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Modified: compiz/plugins/cube.c
===================================================================
--- compiz/plugins/cube.c
+++ compiz/plugins/cube.c
@@ -1486,7 +1486,7 @@ cubePaintTransformedOutput (CompScreen		    *s,
 
     if (cs->grabIndex == 0 && hsize > 2 && !capsPainted &&
 	(cs->invert != 1 || cs->desktopOpacity != OPAQUE ||
-	 sa.vRotate != 0.0f || sa.yTranslate != 0.0f))
+	 cs->paintAllViewports || sa.vRotate != 0.0f || sa.yTranslate != 0.0f))
     {
 	static CompVector top[3] = { { .v = { 0.5, 0.5,  0.0, 1.0} },
 				     { .v = { 0.0, 0.5, -0.5, 1.0} },


More information about the commits mailing list