search for: xtranslate

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

Did you mean: translate
2006 Nov 07
1
Patch for zoom with mixed resolutions
...(Oh, and on my previous comment I meant struts and not extents, if that was 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); +...
2006 Dec 28
2
updating the AUTHORS file
...if they've 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: D...