summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/miniview.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-02 22:51:42 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-02 22:51:42 +0000
commitaef410ad023a8b944758dc6da5c3fa4a35cd965b (patch)
tree124d984cc832d74c44a84b66f32d7a050978be2b /beryl-plugins/src/miniview.c
parent440e6781adc87f127ff62186e8597498b95a888c (diff)
downloadmarex-dev-aef410ad023a8b944758dc6da5c3fa4a35cd965b.tar.gz
marex-dev-aef410ad023a8b944758dc6da5c3fa4a35cd965b.tar.bz2
Improve expo mode tiling
git-svn-id: file:///beryl/trunk@3589 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/miniview.c')
-rw-r--r--beryl-plugins/src/miniview.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/beryl-plugins/src/miniview.c b/beryl-plugins/src/miniview.c
index 25bc598..3c445b1 100644
--- a/beryl-plugins/src/miniview.c
+++ b/beryl-plugins/src/miniview.c
@@ -216,6 +216,7 @@ static void miniviewPaintTransformedScreen(CompScreen * s,
ScreenPaintAttrib * sa = sAttrib;
+
glScalef(1.0f,1.0f,1.0f*-ms->zCam);
glTranslatef(-1.0,1.0,0);
@@ -261,8 +262,8 @@ static void miniviewPaintTransformedScreen(CompScreen * s,
for (i = 0; i < s->hsize; i++)
{
(*s->paintTransformedScreen) (s, sAttrib, region, output, mask);
- glTranslatef(0.75f,0.0f,0.0);
- glTranslatef(0.0f,0.0f,0.1f);
+ glTranslatef((2.6/s->hsize),0.0f,0.0);
+ glTranslatef(0.2f,0.0f,0.1f);
moveScreenViewport(s,1,0,FALSE);
}