summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwodor <wodor@wodor.org>2008-03-17 16:26:33 +0100
committerwodor <wodor@wodor.org>2008-03-17 16:26:33 +0100
commit06bb7992e374f43d303561634a89d8db1691dbfe (patch)
treeea30d29c3299005a330ea4a967c5ee5d7e4fb4a4
parentf9695f80cf879325fd911ec8ba5f7e5e545d908e (diff)
downloadanaglyph-06bb7992e374f43d303561634a89d8db1691dbfe.tar.gz
anaglyph-06bb7992e374f43d303561634a89d8db1691dbfe.tar.bz2
update licence
-rw-r--r--anaglyph.c24
1 files changed, 19 insertions, 5 deletions
diff --git a/anaglyph.c b/anaglyph.c
index 38ee2a4..9f1ce46 100644
--- a/anaglyph.c
+++ b/anaglyph.c
@@ -1,10 +1,22 @@
/**
- * Compiz-plugin: anaglyph
- * Author: Patryk Kowalczyk <wodor@wodor.org>
- * created: September 2007
- * License: GPL
+ * Compiz Anaglyph plugin
*
- */
+ * anaglyph.c
+ * Copyright (c) 2007 Patryk Kowalczyk <wodor@wodor.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * Author: Patryk Kowalczyk <wodor@wodor.org>
+ ** /
#include <stdio.h>
#include <stdlib.h>
@@ -215,6 +227,7 @@ static Bool anaglyphDrawWindow(CompWindow * w,
matrixTranslate (&sTransform, -offset*3.0, 0.0f, 0.0f);
else //other windows
matrixTranslate (&sTransform, -offset, 0.0f, 0.0f);
+
status = (*s->paintWindow) (w, &wa, &sTransform, region, mask);
//RED
@@ -237,6 +250,7 @@ static Bool anaglyphDrawWindow(CompWindow * w,
matrixTranslate (&sTransform, offset*3.0, 0.0f, 0.0f);
else //other windows
matrixTranslate (&sTransform, offset*2.0, 0.0f, 0.0f);
+
status = (*s->paintWindow) (w, &wa, &sTransform, region, mask);
WRAP(as, s, paintWindow, anaglyphDrawWindow);