Due to a problem with registering the XFixesDestroyPointerBarrier op it always fails with BadRequest. Attaching the fix.
Created attachment 44673 [details] [review]
Fix pointer barrier destruction
Patches get reviewed faster when you send directly to xorg-devel.
In this case though, you just need to send to ajax, since you're
using code from his development tree that's not in master.