summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/neg.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-12 15:20:56 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-12 15:20:56 +0000
commit8c54687bd3eacae78cda588df3e8a84e72f1d1de (patch)
tree035d109022792b4cf5e7c6210bf0bfa100e2544c /beryl-plugins/src/neg.c
parent8327279f43bf91df48952d4d53e27bdc9a341e0d (diff)
downloadmarex-dev-8c54687bd3eacae78cda588df3e8a84e72f1d1de.tar.gz
marex-dev-8c54687bd3eacae78cda588df3e8a84e72f1d1de.tar.bz2
beryl-core & -plugins:
added fragment attribute interface (FAI) written by David Reveman (providing a means for plugins to add per-fragment operations to drawing operations) git-svn-id: file:///beryl/trunk@3994 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/neg.c')
-rw-r--r--beryl-plugins/src/neg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/beryl-plugins/src/neg.c b/beryl-plugins/src/neg.c
index ea4e29d..2756abc 100644
--- a/beryl-plugins/src/neg.c
+++ b/beryl-plugins/src/neg.c
@@ -179,7 +179,9 @@ negToggleAll(CompDisplay * d, CompAction * action, CompActionState state,
static void
NEGDrawWindowTexture(CompWindow * w,
CompTexture * texture,
- const WindowPaintAttrib * attrib, unsigned int mask)
+ const WindowPaintAttrib * attrib,
+ const FragmentAttrib *fAttrib,
+ unsigned int mask)
{
int filter;
@@ -486,7 +488,7 @@ NEGDrawWindowTexture(CompWindow * w,
{
/* not negative */
UNWRAP(ns, w->screen, drawWindowTexture);
- (*w->screen->drawWindowTexture) (w, texture, attrib, mask);
+ (*w->screen->drawWindowTexture) (w, texture, attrib, fAttrib, mask);
WRAP(ns, w->screen, drawWindowTexture, NEGDrawWindowTexture);
}
}