[PATCH] xeyes: Add -blinky option.

Peter Hutterer peter.hutterer at who-t.net
Fri Jul 17 18:45:42 PDT 2009


On Fri, Jul 17, 2009 at 08:17:15AM -0700, Alan Coopersmith wrote:
> Peter Hutterer wrote:
> > If -blinky is given and XI2 is available, draw one eye for each master
> > pointer (up to 8).
> > 
> > It's friday here...
> 
> Heh, I was joking yesterday, but it would be nice to have a simple XI2
> sample code / test application, so I like it.   I can't comment on the
> XI2 calls, but the rest of the code changes seem okay to me.

If we actually ship this I'd like to find out how to handle errors first.
Right now, it dies after removing a master device since I don't know how to
catch a BadDevice error (other than with the XSetErrorHandler).
Having sample code that just crashes all the time is not ideal.
 
Cheers,
  Peter


More information about the xorg-devel mailing list