You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to have a fixed version of it. Both #172 and the merged and now reversed #193 provide that. Before I open a third pull request on this i wanted to check in what the preferred fix would look like for this function.
The easiest fix is to just change the crtc-start index to 36 and change the line that gets the value back to the string-get-version (switch line 692 for 691).
The slightly more extensive fix would be to also reorder the output values to be compliant with the randr spec. Though reordering the output values might again break existing software (though I'm questioning whether anyone is using this function in its current state anyway).
I do like the version of the function implemented by #193 for being more readable, though it does reorder the output values in a way that still doesn't match the spec.
The index
crtc-start
inrr-get-output-info
is 26 when it should be 36, resulting in mangled output for everything that depends on that index.clx/extensions/randr.lisp
Lines 665 to 693 in e8c9033
I'd love to have a fixed version of it. Both #172 and the merged and now reversed #193 provide that. Before I open a third pull request on this i wanted to check in what the preferred fix would look like for this function.
The easiest fix is to just change the
crtc-start
index to 36 and change the line that gets the value back to thestring-get
-version (switch line 692 for 691).The slightly more extensive fix would be to also reorder the output values to be compliant with the randr spec. Though reordering the output values might again break existing software (though I'm questioning whether anyone is using this function in its current state anyway).
I do like the version of the function implemented by #193 for being more readable, though it does reorder the output values in a way that still doesn't match the spec.
clx/extensions/randr.lisp
Lines 752 to 808 in a85ad99
What should be done?
The text was updated successfully, but these errors were encountered: