summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wiitrack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiitrack.c b/wiitrack.c
index c2c1a4f..6a557b9 100644
--- a/wiitrack.c
+++ b/wiitrack.c
@@ -340,7 +340,7 @@ static Bool WTPaintOutput(CompScreen *s, const ScreenPaintAttrib *sAttrib,
matrixTranslate (&zTransform,
wts->head.x,
wts->head.y,
- -0.134 + 1 - wts->head.z);
+ DEFAULT_Z_CAMERA - wts->head.z);
// All of our windows will be transformed because of this, so set the mask
mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_MASK;
// And wrap us into the paintOutput set