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

Peter Hutterer peter.hutterer at who-t.net
Sun Sep 4 02:02:45 PDT 2011


On 4/09/11 16:09 , Jamey Sharp wrote:
> 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.

how does this play with randr resizes then? That's the part I didn't know.

Cheers,
   Peter


More information about the xorg-devel mailing list