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

Tools for an ‘inspect mode’ #40

Open
ghost opened this issue Aug 24, 2021 · 1 comment
Open

Tools for an ‘inspect mode’ #40

ghost opened this issue Aug 24, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 24, 2021

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 maybe surfaces_at (giving all, not just the topmost one)
  • a kiwmi_surface or kiwmi_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.

@buffet
Copy link
Owner

buffet commented Aug 25, 2021

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.

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

No branches or pull requests

1 participant