WayfireWM / WayfireWM/wayfire-plugins-extra
Follow-focus ignores minimum cursor movement when focus is changed by a plugin
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 103
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Reported by user mxbranch on wayfire chatrooms, opening issue on their behalf :
The bug is for the follow-focus plugin.
The “minimum cursor movement” option is ignored when the focus is changed via a switcher plugin.
If "view focus follows mouse" is enabled, this causes even a slight mouse movement to shift focus to the wrong window.
In many cases I switch to another program with a switcher, start typing, the vibration from the typing slightly moves the cursor and the focus immediatly changes, all the key events meant for the original program are now triggering keyboard shortcuts for the wrong program, sometimes causing irrecoverable losses.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the follow-focus plugin and the handling for focus changes from a switcher plugin. Reproduce the problem with “view focus follows mouse” enabled, then verify that movement below the configured minimum does not change focus after switching windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100