Closed scymtym closed 1 year ago
Does the rr-panning-put really still not work? I was kinda hoping to see what the issue was with that.
Sorry, this was meant to be a draft, not ready for review. Since I promised @JMC-design to let them have a look.
OK, thanks. I've converted PR to draft.
Does the rr-panning-put really still not work? I was kinda hoping to see what the issue was with that.
@JMC-design Not sure which code you are referring to. xlib/xrandr:set-panning
does not work in this draft pull request because define-accessor
uses/generates symbols in multiple different packages. I think I have a trivial fix that, but I have to check that the fix does not break other things first.
One issue I couldn't come to a decision on: should the synchronous operations that receive a success or failure indication in the reply just return that value or signal a condition on failure (example: get-output-info
returns either :success
or :failure
as the first return value). I lean towards just returning the value and leave the construction of convenience layers to clients but that does, of course, make the base interface less convenient.
Similarly, some operations return "meta data" in the form of timestamps and "configuration timestamps" along with the primary data. The order of return values is currently mostly modeled after the order of fields in the respective XRandR reply structure. However, it might make sense to return the meta data values as the final values since they seem to not always be needed.
Tab, whitespace, comment cleanup
Separate package for the extension
Fix and complete various things
Notify events
Mask and type definition macros
Accessor definitions for
panning
,mode-info
, etcA few incomplete definitions of CRTC and output functions