summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-05-06 20:20:14 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-05-06 20:20:14 +0200
commit70383a40be3b846c2668be403558de6a54b76f8b (patch)
tree036185fde4c820e42f43a39a3ee26a37aa2b207b
parent5f36346edfcb7fdbbb9f6698838f65c5cb240eab (diff)
Paint cube caps if a plugin wishes it by setting cs->paintAllViewports.
-rw-r--r--plugins/cube.c2
1 files changed, 1 insertions, 1 deletions
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} },