[PATCH 2/2] input: switch miPointerSetPosition to expect desktop-wide coordinates.

Jamey Sharp jamey at minilop.net
Sat Sep 3 23:09:01 PDT 2011


On Fri, Sep 02, 2011 at 01:59:12PM +1000, Peter Hutterer wrote:
> Hints appreciated on how to make get_desktop_dimensions() more efficient.
> Presumably this could be precalculated on screen changes only but frankly I
> have no idea where to hook in here.

Since this is DIX-level code, wouldn't AddScreen be the right place to
hook? get_desktop_dimensions seems pretty straightforward to precompute.

Jamey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110903/7f8c6b2a/attachment.pgp>


More information about the xorg-devel mailing list