summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/miniview.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-02 22:53:14 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-02 22:53:14 +0000
commit3018291249ff575bb939c9757caa88b4a05d8b98 (patch)
tree8b21599174cd6accc08574698aa8b9f4d3248a78 /beryl-plugins/src/miniview.c
parentaef410ad023a8b944758dc6da5c3fa4a35cd965b (diff)
downloadmarex-dev-3018291249ff575bb939c9757caa88b4a05d8b98.tar.gz
marex-dev-3018291249ff575bb939c9757caa88b4a05d8b98.tar.bz2
Make first viewport in expo mode current viewport rather than viewport 0
git-svn-id: file:///beryl/trunk@3590 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/miniview.c')
-rw-r--r--beryl-plugins/src/miniview.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/beryl-plugins/src/miniview.c b/beryl-plugins/src/miniview.c
index 3c445b1..86f51d8 100644
--- a/beryl-plugins/src/miniview.c
+++ b/beryl-plugins/src/miniview.c
@@ -250,8 +250,8 @@ static void miniviewPaintTransformedScreen(CompScreen * s,
int oldFilter = s->filter[SCREEN_TRANS_FILTER];
s->filter[SCREEN_TRANS_FILTER] = COMP_TEXTURE_FILTER_GOOD;
glPushMatrix();
- int origView = s->x;
- moveScreenViewport(s,-s->x,0,FALSE);
+ //int origView = s->x;
+ //moveScreenViewport(s,-s->x,0,FALSE);
glScalef(1.0f,1.0f,(float)s->hsize/2.0f);
@@ -267,8 +267,8 @@ static void miniviewPaintTransformedScreen(CompScreen * s,
moveScreenViewport(s,1,0,FALSE);
}
- while (s->x != origView)
- moveScreenViewport(s,1,0,FALSE);
+ //while (s->x != origView)
+ // moveScreenViewport(s,1,0,FALSE);
s->filter[SCREEN_TRANS_FILTER] = oldFilter;
glPopMatrix();
}