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

[Bug] Switching window focus does not work in v3.3.0 when focus_follows_cursor: true #760

Closed
mPyKen opened this issue Oct 2, 2024 · 1 comment · Fixed by #767
Closed
Labels
released type: bug Something isn't working

Comments

@mPyKen
Copy link

mPyKen commented Oct 2, 2024

Describe the bug

Switching window focus worked nicely on v3.2.0, even with focus_follows_cursor: true. On v3.3.0, it does not. When set to true, focus seems to change but goes back to the window below cursor immediately. Windows 10.

My guess is the regression was caused by #754 where INPUT_MOUSE is now being used instead of INPUT_KEYBOARD, causing the (fake) mouse movement to refocus the window below the mouse.

Also reported as a comment under #751

Reproduction

Set focus_follows_cursor: true and change window focus using key bindings.

Stack trace or error logs (if applicable)

No response

Version number

v3.3.0

@mPyKen mPyKen added the type: bug Something isn't working label Oct 2, 2024
@github-project-automation github-project-automation bot moved this to 📬 Needs triage in glazewm Oct 2, 2024
@github-project-automation github-project-automation bot moved this from 📬 Needs triage to ✅ Done in glazewm Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

🎉 This issue has been resolved in version 3.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant