Open paulapatience opened 4 years ago
please resolve conflicts; after that I'm OK with merging this as is. thank you.
What's the status on this?
What's the status on this?
I can take a look at this again soon. However, I wonder if I should revert the &key
s back to &optional
s, as @JMC-design disapproved of the change in https://github.com/sharplispers/clx/pull/174#pullrequestreview-491477704.
key is fine, it makes the interface better. optional arguments get nasty quick if there is more than one.
The CRTC-START index was incorrect, which caused RR-GET-OUTPUT-INFO to return bogus CRTCs, modes, clones, and name.
Additionally, document the function's multiple return values and declaim its type. The latter required adding some types and adjusting some existing types and constants.
Finally, reindent RR-GET-OUTPUT-INFO, wrap some overlong lines, and clean up some comments and whitespace.