diff options
author | wodor <wodor@wodor.org> | 2008-03-13 14:58:07 +0100 |
---|---|---|
committer | wodor <wodor@wodor.org> | 2008-03-13 14:58:07 +0100 |
commit | 1ef1164a06d23bb2760735a0dce42f07efa35d35 (patch) | |
tree | 24633a1723bcd560b74302a178e2cecbab8bad21 | |
parent | 3deaba19bf538a2dfa6362d60285d62db040dd71 (diff) | |
download | anaglyph-1ef1164a06d23bb2760735a0dce42f07efa35d35.tar.gz anaglyph-1ef1164a06d23bb2760735a0dce42f07efa35d35.tar.bz2 |
clean source code
-rw-r--r-- | anaglyph.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -71,7 +71,6 @@ typedef struct _AnaglyphScreen { typedef struct _AnaglyphWindow { Bool isAnaglyph; - Bool isNew; } AnaglyphWindow; @@ -91,7 +90,8 @@ toggleAnaglyphWindow (CompWindow *w) addWindowDamage(w); } -// + + static void toggleAnaglyphScreen (CompScreen *s) { @@ -107,7 +107,7 @@ toggleAnaglyphScreen (CompScreen *s) } -//-- + static Bool anaglyphAnaglyphWindow (CompDisplay *d, CompAction *action, @@ -128,7 +128,6 @@ anaglyphAnaglyphWindow (CompDisplay *d, return FALSE; toggleAnaglyphWindow(w); - //return TRUE; } return FALSE; } @@ -236,7 +235,6 @@ static Bool anaglyphDrawWindow(CompWindow * w, glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); - aw->isNew = FALSE; s->display->textureFilter = oldFilter; } else @@ -509,7 +507,6 @@ static Bool anaglyphInitWindow(CompPlugin * p, CompWindow * w) return FALSE; aw->isAnaglyph = FALSE; - aw->isNew = TRUE; w->base.privates[as->windowPrivateIndex].ptr = aw; @@ -549,7 +546,7 @@ static void anaglyphFini (CompPlugin *p) { - if (corePrivateIndex >= 0) // + if (corePrivateIndex >= 0) freeCorePrivateIndex (corePrivateIndex); } |