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

Support single point selection #28

Open
9ary opened this issue Apr 25, 2020 · 0 comments
Open

Support single point selection #28

9ary opened this issue Apr 25, 2020 · 0 comments

Comments

@9ary
Copy link
Member

9ary commented Apr 25, 2020

Similar to slurp's -p flag, but with more features.
In slurp, -p will ignore predefined rectangles. We don't support those, but we support selecting windows with a single click. I think our equivalent should return:

  • the ID of the window that was clicked
  • its geometry
  • the coordinates of the point that was clicked (when selecting a rectangle, it might also be interesting to return the point where the button was released here)
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