summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-09-27 16:39:14 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2007-10-08 18:27:08 +0200
commitdcbcf788e7ad59d2acab50142220b7001baebf70 (patch)
treecb967d637a65dcc25c01dc932f79d4940e9d29b2 /plugins
parent1db4be11c09b7295cdaf3d0f98bb980029718cf9 (diff)
Fixed window offset calculation for multihead configurations.
Diffstat (limited to 'plugins')
-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);