The protocol spec isn't clear about the relationship between the capability enum and the uint in the capability event. Fix things to use the same relationship as mutter.