summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-17 16:04:17 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-17 16:04:17 +0000
commit1f583ea3f3a682189b6be77081c3b1717d064a9b (patch)
treea7572a0ef4868c45fbd9d01ef6d7b619540112da /beryl-plugins/src/cube.c
parente8447d043d286612b5e9da547e95d17d7ad1aaa9 (diff)
downloadmarex-dev-1f583ea3f3a682189b6be77081c3b1717d064a9b.tar.gz
marex-dev-1f583ea3f3a682189b6be77081c3b1717d064a9b.tar.bz2
beryl-plugins: cube: paint all faces when viewing cap in inside mode. closes #382
git-svn-id: file:///beryl/trunk@2778 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index a703abb..7d79553 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -2091,7 +2091,7 @@ cubePaintTransformedScreen(CompScreen * s,
sa.yRotate -= 360.0f / size;
xMove = -1 - cs->xrotations;
- if (cs->grabIndex)
+ if (cs->grabIndex || sAttrib->vRotate > 60.0)
{
int i;
@@ -2114,7 +2114,6 @@ cubePaintTransformedScreen(CompScreen * s,
sa.yRotate += 360.0f / size;
xMove++;
}
-
}
else
{