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

Window ordering routines #37

Open
tmandry opened this issue Nov 17, 2018 · 0 comments
Open

Window ordering routines #37

tmandry opened this issue Nov 17, 2018 · 0 comments

Comments

@tmandry
Copy link
Owner

tmandry commented Nov 17, 2018

Allow setting the window ordering, within overlapping windows or actual order on the screen, using AX APIs.

My main concern with this feature is performance and user experience when re-ordering is happening (What if they type something and it ends up in the wrong window? Should we capture all user input during the operation, and re-direct it to the window that is re-focused at the end of it? Maybe that's a further enhancement.) Also, handling timeouts and failure properly.

Hammerspoon supports sendToBack, only for "visible" ordering (currently overlapping windows). This might not be enough, though, because once a window is moved to overlap with this window it could show up behind the window that was just sent to the back. We should consider exposing both options for performance reasons if that use case is not needed.

@tmandry tmandry added this to the Distant future milestone Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant