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

Debug version for Windows 11 support #29

Closed
wants to merge 3 commits into from
Closed

Debug version for Windows 11 support #29

wants to merge 3 commits into from

Conversation

jonaskuske
Copy link
Contributor

Hey, maybe you @nullpo-head (or anyone with Windows 11) can give this version a spin and see

  • what it logs
  • if it works at all
  • if it works, at which step (SetForegroundWindow, SW_RESTORE, SW_SHOWDEFAULT or SW_SHOW)

? :)

@nullpo-head
Copy link
Owner

Hi, thanks for you quick experiment! SetForeGroundWindow just works. I think it's been working fine on Windows 11 as well from the first time. I just misunderstood the expected behavior; I had t the pushy behavior in my mind. Thanks so much!

[wsl-hello] Searching for window...
[wsl-hello] Still searching...
[wsl-hello] Window found, hWnd: 3473522
[wsl-hello] Attempting to focus using SetForegroundWindow...
[wsl-hello] SetForegroundWindow successful.

@jonaskuske jonaskuske deleted the fix/hello-foreground-debug branch November 23, 2021 15:15
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.

2 participants