[PATCH v2 7/7] dix: NewCurrentScreen must work on pointers where possible

Peter Hutterer peter.hutterer at who-t.net
Wed Sep 21 15:43:31 PDT 2011


On Tue, Sep 20, 2011 at 08:43:52PM -0700, Keith Packard wrote:
> On Wed, 21 Sep 2011 13:30:17 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> 
> > yes, but if the device is floating and a kbd device only, we can't generate
> > motion events for it anyway - we don't have a pointer to generate them
> > on.
> 
> Would it be a good idea to not simply assume the caller will have passed
> something reasonable? The code as provided looks like it will do the
> wrong thing...

You mean like this?
http://lists.x.org/archives/xorg-devel/2011-September/024807.html
that was the first implementation, and I changed it for this one..

Cheers,
  Peter


More information about the xorg-devel mailing list