On 01/04/2012 09:02 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. > > Submitting a NULL mask to XSelectExtensionEvents doesn't work, so we need to > get the correct zero mask for our device. Take a known class and unset the > last > 8 bits since an XEventClass is defined as (deviceid << 8 | event type). But > you > knew that, anyway.
Ummm, yuck? > > 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 <peter.hutte...@who-t.net> Reviewed-by: Chase Douglas <chase.doug...@canonical.com> _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel