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

fix: check window visibility before querying data #54

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

leoshusar
Copy link
Contributor

This is a fix for my issue #53.

Since _findMainWindowHandles() returns only visible windows anyway, I tried to move the visibility check to the top of the winEnumHandler and can confirm this fixed my issue.

Fixes #53

@Kalmat Kalmat merged commit 59dc14d into Kalmat:master Mar 19, 2023
@Kalmat
Copy link
Owner

Kalmat commented Mar 19, 2023

Hi! Thank you SO MUCH for finding this issue and providing a solution!!!

@leoshusar
Copy link
Contributor Author

It took me a while, if I didn't know the original library worked, I would probably gave up with "it's probably impossible" :D
No problem!

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.

GetAllWindows hangs when it encounters dummy window created by the same process
2 participants