search for: movescreenviewport

Displaying 2 results from an estimated 2 matches for "movescreenviewport".

2008 Feb 07
1
[ANNOUNCE] compiz-0.7.0
...ehind the active window. Use KDE functions to get the visible window name. Make sure that everything is painted, if another plugin requests it. Make sure that unredirected windows get redirected on unmap. Added windowOnAllViewports function. Use windowOnAllViewports in moveScreenViewport. Added setWindowPaintOffset function. Added new PAINT_WINDOW_WITH_OFFSET_MASK mask that indicates that a window will be painted with an offset. Initialize windowOffsetX/windowOffsetY correctly. Added function to calculate window movement for a given offset. Added supp...
2007 Jun 12
0
[PATCH] Added rotation state.
...ugins/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->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-&g...