kiwmi
kiwmi copied to clipboard
Tools for an ‘inspect mode’
This is just an idea, but I’d like to know what you think about it and if you would support it. The goal would be to allow users to create something like the element picker in web browsers’ devtools, but I suppose it could be used in other ways.
I also have no idea when I would be able to do it, so it’s possible that this ticket would be hanging here forever.
I think it would mean something like this:
- a
surface_at
function, or maybesurfaces_at
(giving all, not just the topmost one) - a
kiwmi_surface
orkiwmi_surface_info
type to transfer the properties to lua- since there are many surface extensions, it wouldn’t be so simple
- a way to render before/after each surface, not just each view
- changing the cursor shape?
I haven’t gone much further than to this rough draft.
Rendering is going to be very different in the future anyways, the current API is just a temporary work around.
Otherwise, sounds good! Having more flexibility in that regard could also help debug kiwmi issues.