summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/miniview.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-03 00:42:36 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-03 00:42:36 +0000
commit8910487f95a626b5322a4f152d4294c3b0c080be (patch)
treef8c74a9875a50ce0ff429d4bc394451beae543b8 /beryl-plugins/src/miniview.c
parentaad43c28475d47be2fd8031fcdb4433969f2af93 (diff)
downloadmarex-dev-8910487f95a626b5322a4f152d4294c3b0c080be.tar.gz
marex-dev-8910487f95a626b5322a4f152d4294c3b0c080be.tar.bz2
Fix multihead in expo mode mostly
git-svn-id: file:///beryl/trunk@3596 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/miniview.c')
-rw-r--r--beryl-plugins/src/miniview.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/beryl-plugins/src/miniview.c b/beryl-plugins/src/miniview.c
index e5a51df..04abeec 100644
--- a/beryl-plugins/src/miniview.c
+++ b/beryl-plugins/src/miniview.c
@@ -175,6 +175,7 @@ static Bool miniviewExpo(CompDisplay *d, CompAction * action, CompActionState st
ms->expoMode = !ms->expoMode;
ms->expoCam = 0;
damageScreen(s);
+
return FALSE;
}
@@ -269,7 +270,8 @@ static void miniviewPaintTransformedScreen(CompScreen * s,
}
if (ms->expoMode)
{
- glClear(GL_COLOR_BUFFER_BIT);
+ clearTargetOutput(s->display, GL_COLOR_BUFFER_BIT);
+
int oldFilter = s->filter[SCREEN_TRANS_FILTER];
s->filter[SCREEN_TRANS_FILTER] = COMP_TEXTURE_FILTER_GOOD;
glPushMatrix();