search for: rotate_screen

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

2007 Jun 12
0
[PATCH] Added rotation state.
...reen *s, else tx = (s->hsize * xrot / 360.0f) + 0.5f; + /* flag end of rotation */ + cs->rotationState = RotationNone; + moveScreenViewport (s, tx, 0, TRUE); rs->xrot = 0.0f; @@ -559,6 +562,7 @@ rotateInitiate (CompDisplay *d, if (s) { ROTATE_SCREEN (s); + CUBE_SCREEN (s); if (s->hsize < 2) return FALSE; @@ -577,6 +581,14 @@ rotateInitiate (CompDisplay *d, rs->moving = FALSE; rs->slow = FALSE; + /* Set the rotation state for cube - if action is non-NULL, + we set it to manual (as we were called from the ...