-
Notifications
You must be signed in to change notification settings - Fork 199
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] focus_follows_cursor
doesn't work with touchpads
#799
Comments
Im facing this issue too, Using HP laptop with windows 11. I wont be using external mouse most of the time, found this when using randomly. It would be very helpful if fixed. |
Can confirm this issue is on v3.5.0 |
Live-reloading doesn't currently work this feature. Could you confirm that |
Sorry, I don't have the ability to confirm it at the moment, but as far as I remember |
I can confirm that doing a reload, re-launch, reboot and even editing config doesn't fix the issue. |
Understood. If you have no errors in your logs, I would guess the issue is due to this.
Trackpads may need to be registered in a different way. HID_USAGE_GENERIC_POINTER might be the solution, but I'm unsure how to test this theory since I don't have hardware that reproduces the issue.
|
I have a device that reproduces this issue, I attempted to modify HID_USAGE_GENERIC_MOUSE to be HID_USAGE_GENERIC_POINTER but the issue still persists when I compile and run, could be an issue with me though, not too familiar with Rust and Windows API stuff. If there is anything for me to test please let me know. For context I am using a Lenovo L13 Yoga. |
I am also using a lenovo device, Thinkpad L14 gen 4. |
This line appears to be causing the issue, commenting it out makes focus follows cursor work as expected. Seems to be a fix for a different issue so removing it is not a permanent solution, any idea why this is the case?
|
🎉 This issue has been resolved in version 3.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
The
focus_follows_cursor
option only works with an external mouse. If moving the cursor by using a touchpad (i.e. a built-in laptop touchpad), this option doesn't work: despite moving the cursor over a different window, the focus doesn't change. If you do the same thing by using a mouse, then the option works correctly and cursor changes window focus.For clarity, I'm using a Huawei Matebook D15 AMD running Windows 11.
Reproduction
focus_follows_cursor
option.Stack trace or error logs (if applicable)
No response
Version number
v3.4.0
The text was updated successfully, but these errors were encountered: