[bindgen] wlr_cursor_detach_input_device, wlr_cursor_set_image
-
wlr_cursor_set_image- pixel parameter is a pointer to a const unit8_t, I wasn't sure how to turn the pixels parameter into a pointer to pass to the cdef, so I just left it as is. Some input on this would help.
Signed-off-by: Shinyzenith [email protected]
What would you imagine passing into the wlr_cursor_set_image? It seems like something like a bytes or bytearray would work well as an input, but you could imagine something that would work nicely with pillow Images or numpy arrays (not sure we'd want to add those as a dependency, tho).
What would you imagine passing into the wlr_cursor_set_image? It seems like something like a bytes or bytearray would work well as an input, but you could imagine something that would work nicely with pillow Images or numpy arrays (not sure we'd want to add those as a dependency, tho).
All seem valid, and I suspect the commonality between all of these is the buffer protocol. Perhaps the input can be general enough to support that?