Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extensions: randr: fix RR-GET-OUTPUT-INFO indices #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulapatience
Copy link
Contributor

@paulapatience paulapatience commented Jun 25, 2020

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.

@paulapatience paulapatience force-pushed the bugfix/rr-get-output-info branch 4 times, most recently from c76fe19 to 97d8ba6 Compare June 29, 2020 23:28
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.
extensions/randr.lisp Show resolved Hide resolved
@dkochmanski
Copy link
Member

please resolve conflicts; after that I'm OK with merging this as is. thank you.

@einsiedlerspiel
Copy link
Contributor

What's the status on this?

@paulapatience
Copy link
Contributor Author

What's the status on this?

I can take a look at this again soon. However, I wonder if I should revert the &keys back to &optionals, as @JMC-design disapproved of the change in #174 (review).

@dkochmanski
Copy link
Member

key is fine, it makes the interface better. optional arguments get nasty quick if there is more than one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants