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

A way to prevent hs.alert.show() from stealing focus? #3623

Open
tino opened this issue Mar 26, 2024 · 1 comment
Open

A way to prevent hs.alert.show() from stealing focus? #3623

tino opened this issue Mar 26, 2024 · 1 comment

Comments

@tino
Copy link

tino commented Mar 26, 2024

I have an alert that shows me whether my tests that are running in the background are passing or not. However, every time the alert is show, the window I was working in (eg. code editor, or terminal) loses focus, and I have to cmd+tab twice to get it back.

Is there any way from preventing this?

@dmgerman
Copy link

dmgerman commented Apr 18, 2024

hs.alert.show() does not steal focus, does it? it simply displays the message

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

2 participants