summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cube.c b/plugins/cube.c
index 006b5514..32922489 100644
--- a/plugins/cube.c
+++ b/plugins/cube.c
@@ -1072,7 +1072,7 @@ cubeMoveViewportAndPaint (CompScreen *s,
/* translate back to compiz output */
output = cs->srcOutput = cs->output[cubeOutput];
- setWindowPaintOffset (s, dView * s->width, 0);
+ setWindowPaintOffset (s, -dView * s->width, 0);
(*s->paintTransformedOutput) (s, sAttrib, transform,
&s->outputDev[output].region,
&s->outputDev[output], mask);