WayfireWM / WayfireWM/wayfire-plugins-extra

Follow-focus ignores minimum cursor movement when focus is changed by a plugin

Open
#331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.