input transformations

David Reveman davidr at
Tue Feb 6 17:11:55 PST 2007

On Tue, 2007-02-06 at 19:25 -0500, Ori Bernstein wrote:
> On Thu, 01 Feb 2007 18:26:13 -0500, David Reveman <davidr at> said:
> > I spent some time this week trying to add support for input
> > transformations to the server. I tried a few different approaches. The
> > patches I've attached are what's currently working best for me.
> > 
> > In this approach I allow every window to have it's own root window
> > coordinate space. A window's root window coordinate space is affected by
> > all it's ancestors. Composite clients can set a triangular mesh that
> > maps root window coordinates from a composite window to one of its
> > redirected child-windows. Event coordinates are generated in the event
> > windows root coordinate space.
> Can the mesh elements overlap within the input coordinate space?
> For example, just say I have a window that's 800x600 at (0,0) and I want to
> display and interact with a zoomed fragment from the middle of it (think
> interactive screen magnifier, or something similar)
> This means I'd want to have the input at (for example) a 400x400 area at
> (1000,0) as well as the regular window location.

Sure, that should work fine.

- David

More information about the xorg mailing list