diff options
-rw-r--r-- | anaglyph.c | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -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); |