summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-27 20:17:35 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-27 20:17:35 +0000
commit954027ece40b6abd8747bc7de0fe3061de8baf1b (patch)
tree9149d8f01a25f7960aa214394bc4b43b35d6bbd5 /beryl-plugins/src/cube.c
parent7167e8c1a39970803d483f16d0c6442e860ade8b (diff)
downloadmarex-dev-954027ece40b6abd8747bc7de0fe3061de8baf1b.tar.gz
marex-dev-954027ece40b6abd8747bc7de0fe3061de8baf1b.tar.bz2
cube plugin:
* fix interaction with iZoom git-svn-id: file:///beryl/trunk@3258 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 4b0fe8a..2fde974 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -1909,8 +1909,6 @@ cubePaintTransformedScreen(CompScreen * s,
CUBE_SCREEN(s);
- cs->finalPaint=!(cs->opt[CUBE_SCREEN_OPTION_STUCK_TO_SCREEN].value.b);
-
hsize = s->hsize;
if (cs->mmMode != Multiple)
hsize *= cs->nOutput;
@@ -1994,6 +1992,12 @@ cubePaintTransformedScreen(CompScreen * s,
sa.xTranslate = sAttrib->xTranslate;
sa.yTranslate = sAttrib->yTranslate;
+
+ if (screenGrabExist(s, "rotate", "cube", 0))
+ cs->finalPaint=!(cs->opt[CUBE_SCREEN_OPTION_STUCK_TO_SCREEN].value.b);
+ else
+ cs->finalPaint=TRUE;
+
if (cs->grabIndex)
{
sa.vRotate = 0.0f;