search for: cubeupdateoutput

Displaying 1 result from an estimated 1 matches for "cubeupdateoutput".

Did you mean: cubeupdateoutputs
2007 Jun 12
0
[PATCH] Added rotation state.
...c b/plugins/cube.c index 7c4df03..0162e0d 100644 --- a/plugins/cube.c +++ b/plugins/cube.c @@ -1859,6 +1859,8 @@ cubeInitScreen (CompPlugin *p, cs->bg = NULL; cs->nBg = 0; + cs->rotationState = RotationNone; + memset (cs->cleared, 0, sizeof (cs->cleared)); cubeUpdateOutputs (s); diff --git a/plugins/rotate.c b/plugins/rotate.c index 7aecd56..fdd9442 100644 --- a/plugins/rotate.c +++ b/plugins/rotate.c @@ -346,6 +346,9 @@ rotatePreparePaintScreen (CompScreen *s, else tx = (s->hsize * xrot / 360.0f) + 0.5f; + /* flag end of rotation */ + cs-&g...