XIAllowEvents changed request lengths in XI 2.2. A client calling XIQueryVersion 2.1 is expected If a client registers for XI 2.1 is expected to use the original (shorter) request, a client for XI 2.2 is expected to use the new request length. libXi decides the request length on the server-supported version, not on the one the client uses. This causes a BadLength error in the server.
http://patchwork.freedesktop.org/patch/14491/
fixed, in the server commit 94d4e29aedc69431fa9b299ca1b67947173d7a24 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon Aug 26 15:51:46 2013 +1000 Xi: allow for XIAllowEvent requests larger than XI < 2.2 size (#68554)
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.