Skip to content

Conversation

@strixcode
Copy link
Contributor

WindowManager::IsFocused() uses GetActiveWindow() which returns active window of the current application. It doesn't mean that this application is in foreground and has keyboard focus. The correct way is to use GetForegroundWindow() which this PR does.

@lijy91 lijy91 merged commit e077e8e into leanflutter:main May 18, 2024
@iOSBoy
Copy link

iOSBoy commented May 23, 2024

Hi strixcode thank you for fix this bug, but i am use the latest version of this plugin when i get isFocused is still false. what should i do next,please help me

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

Successfully merging this pull request may close these issues.

3 participants