Closed jonaskuske closed 3 years ago
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.
Hey, maybe you @nullpo-head (or anyone with Windows 11) can give this version a spin and see
? :)