[PATCH] dix: make input clipping respect subpixels (#24187)
simon.thum at gmx.de
Thu Oct 1 04:33:37 PDT 2009
Peter Hutterer wrote:
> /me goes and hides in the corner.
Come on, it can't be that hard for us to come up with a fix less
voluminous than a rewrite.
If, and only if, a master dev is supposed to contain the cross-screen
'axis' range (which is the 'co-ord space limit'?) AND we want relative
motion to include clipping, why not let moveRelative() have this instead:
/* if attached, clip both x and y to the defined limits (usually
* co-ord space limit). If it is attached, we need x/y to go over the
* limits to be able to change screens. */
clipAxis(dev->u.master, 0, x, &dev->last.remainder);
clipAxis(dev->u.master, 1, y, &dev->last.remainder);
I guess previously this was a no-op after all. It's mainly a semantics
question whether this is right.
More information about the xorg-devel