On Thu, Jan 05, 2012 at 02:41:31PM -0800, Chase Douglas wrote:
> On 01/05/2012 02:28 PM, Peter Hutterer wrote:
> > t003() selects for key events on the root window. t005() takes over and then
> > complains when the focus correctly follows the pointer and an event is
> > delivered to the root window. If you don't expect events on the root window,
> > unselect them first.
> > 
> > We could also XCloseDisplay() at the end of each test but who knows what 
> > that
> > does to the other tests.
> > 
> > Signed-off-by: Peter Hutterer <[email protected]>
> > Reviewed-by: Chase Douglas <[email protected]>
> > ---
> > Changes to v1:
> > - hah! there is a macro for the "no event" class after all. use that.
> > 
> > Chase, I figured your rev-by still stands given that this is the same effect
> > but much saner.
> 
> Yes, though "yuck" still stands from an API perspective :).

it's not the worst bit of the libXi API...

Cheers,
  Peter
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to