From 70383a40be3b846c2668be403558de6a54b76f8b Mon Sep 17 00:00:00 2001 From: Dennis Kasprzyk Date: Tue, 6 May 2008 20:20:14 +0200 Subject: Paint cube caps if a plugin wishes it by setting cs->paintAllViewports. --- plugins/cube.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cube.c b/plugins/cube.c index 154b5819..db50fd6b 100644 --- a/plugins/cube.c +++ b/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} }, -- cgit v1.2.3