Touch events may only be selected by one client per window, but some nesting is allowed. For example, client A may select for XIAllDevices and client B is still allowed to select for a specific device. In the current code there is a dependency on who selects for what first such that if A selects for XIAllDevices and B for device X, B gets an error. But the other way round all goes well.
http://patchwork.freedesktop.org/patch/12472/ http://patchwork.freedesktop.org/patch/12473/
commit 39f19b3f3b8c9b714e70e339dfb0083ff629ab2a Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Tue Nov 20 11:48:31 2012 +1000 Xi: fix touch event selction conflicts (#57301)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.