Displaying 3 results from an estimated 3 matches for "ytranslat".
Did you mean:
translat
2006 Nov 07
1
Patch for zoom with mixed resolutions
...as
confusing to anyone. It was to me when I re-read it, heh.)
...MC
-------------- next part --------------
--- plugins/zoom.c
+++ plugins/zoom.c
@@ -480,8 +480,12 @@
if (zs->currentZoom == 1.0f)
{
- zs->xTranslate = (x - s->width / 2) / (s->width * 2.0f);
- zs->yTranslate = (y - s->height / 2) / (s->height * 2.0f);
+ CompOutput *o = &s->outputDev[zs->zoomOutput];
+
+ zs->xTranslate = ((x - o->region.extents.x1) - o->width / 2) /
+ (s->width * 2.0f);
+ zs->yTranslate = ((y - o->region.extents.y1) - o->height /...
2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
...outputPtr, vPoints);
+ else
+ ftb = FALSE;
if ((paintOrder == FTB && !ftb) ||
(paintOrder == BTF && ftb))
@@ -1508,8 +1457,14 @@ cubePaintTransformedOutput (CompScreen *s,
(cs->invert != 1 || cs->desktopOpacity != OPAQUE ||
sa.vRotate != 0.0f || sa.yTranslate != 0.0f))
{
- topDir = cs->capDirection(s, &sa, transform, outputPtr, 0.5f);
- bottomDir = cs->capDirection(s, &sa, transform, outputPtr, -0.5f);
+ static float top[3][3] = { { 0.5, 0.5, 0.0},
+ { 0.0, 0.5, -0.5},
+ { 0.0, 0.5, 0.0}};
+ static float bottom[3][3] =...
2006 Dec 28
2
updating the AUTHORS file
...done
contributions that are not listed below.
Thanks,
-David
------------------
Author: Mike Cook <mcook@novell.com>
Only hide windows on current output.
Add initiate_output action, which initiates scale mode only for
windows visible on current output.
Compute xTranslate and yTranslate correctly for output specific
zoom.
Author: Mike Dransfield <mike@blueroot.co.uk>
Add a few new shapes to annotate plugin and an action option that
can be used to draw these shapes.
Add basic compiz event support.
Add deactivate member to dbus plugin.
Author: Diogo Ferreira...