summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wobbly.c
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 00:43:33 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 00:43:33 +0000
commit0ab00e046951ad9b6263c8fb0ede3effa86d222d (patch)
treeaf3675da1e41d63d136e72824326d2a0c358bb7b /beryl-plugins/src/wobbly.c
parent104ed8ebe6ebeed3e48c8b1269a23e36928aacc8 (diff)
downloadmarex-dev-0ab00e046951ad9b6263c8fb0ede3effa86d222d.tar.gz
marex-dev-0ab00e046951ad9b6263c8fb0ede3effa86d222d.tar.bz2
beryl-(core|plugins): moved matrix transformations out of gl (David Reveman)
- group not ported yet - blurfx has bugs but this will be fixed in a rewrite all other plugins should work git-svn-id: file:///beryl/trunk@4005 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/wobbly.c')
-rw-r--r--beryl-plugins/src/wobbly.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/beryl-plugins/src/wobbly.c b/beryl-plugins/src/wobbly.c
index 6f24a35..dcf6150 100644
--- a/beryl-plugins/src/wobbly.c
+++ b/beryl-plugins/src/wobbly.c
@@ -2577,6 +2577,7 @@ static void wobblyDrawWindowGeometry(CompWindow * w)
static Bool
wobblyPaintWindow(CompWindow * w,
const WindowPaintAttrib * attrib,
+ const CompTransform *transform,
Region region, unsigned int mask)
{
Bool status;
@@ -2591,8 +2592,9 @@ wobblyPaintWindow(CompWindow * w,
mask |= PAINT_WINDOW_TRANSFORMED_MASK;
}
+
UNWRAP(ws, w->screen, paintWindow);
- status = (*w->screen->paintWindow) (w, attrib, region, mask);
+ status = (*w->screen->paintWindow) (w, attrib, transform, region, mask);
WRAP(ws, w->screen, paintWindow, wobblyPaintWindow);
return status;
@@ -3317,6 +3319,7 @@ static void wobblyWindowUngrabNotify(CompWindow * w)
static Bool
wobblyPaintScreen(CompScreen * s,
const ScreenPaintAttrib * sAttrib,
+ const CompTransform *transform,
Region region, int output, unsigned int mask)
{
Bool status;
@@ -3327,7 +3330,7 @@ wobblyPaintScreen(CompScreen * s,
mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_MASK;
UNWRAP(ws, s, paintScreen);
- status = (*s->paintScreen) (s, sAttrib, region, output, mask);
+ status = (*s->paintScreen) (s, sAttrib, transform, region, output, mask);
WRAP(ws, s, paintScreen, wobblyPaintScreen);
return status;