I have looked at that randr protocol: http://keithp.com/~keithp/talks/randr/protocol.txt and it seems to me that there is some types that are not correct. I attach below a diff file
Created attachment 7751 [details] [review] type fixes
Patch applied, thanks.
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.