sharplispers / clx

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp
Other
116 stars 46 forks source link

extensions: randr: Fix indices of rr-get-output-info and document its return values #199

Closed einsiedlerspiel closed 1 year ago

einsiedlerspiel commented 1 year ago

This is equivalent to #172 without the type declaration and resulting conflicts, only fixing the return values of rr-get-output-info and adding some documentation.

rr-get-ouput-info was broken as detailed in #198 and #172. This fixes the issue by setting the correct index for crtc-start and adjusting the code to retrieve the crtc sequence and name of the output.

Also breaks some overlong lines and adds documentation for the return values.

dkochmanski commented 1 year ago

lgtm, thanks!