[PATCH XTS v2 2/2] xts5: fix XSetDeviceFocus-5

2012-01-05 Thread Peter Hutterer
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 tes

Re: [PATCH XTS v2 2/2] xts5: fix XSetDeviceFocus-5

2012-01-05 Thread Chase Douglas
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.

Re: [PATCH XTS v2 2/2] xts5: fix XSetDeviceFocus-5

2012-01-05 Thread Peter Hutterer
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