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

hs.application:isFrontmost() returns false on active application #2721

Closed
gp42 opened this issue Mar 4, 2021 · 1 comment
Closed

hs.application:isFrontmost() returns false on active application #2721

gp42 opened this issue Mar 4, 2021 · 1 comment

Comments

@gp42
Copy link

gp42 commented Mar 4, 2021

Just updated to 0.9.83.
I use a hotkey to hide or show Alacritty terminal.
hs.application:isFrontmost() stopped working in 0.9.83.

Here is a part of the code I am using:

  local alacritty = hs.application.find('alacritty')
  if alacritty ~= nil then
    print(alacritty:isFrontmost())   -- always returns false
...

Rolled back to 0.9.82 and all is fine again.

@gp42
Copy link
Author

gp42 commented Mar 4, 2021

Duplicate, see: #2720

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