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

Sloppy focus / mouse follows focused window #756

Open
jtaala opened this issue Jan 20, 2024 · 0 comments
Open

Sloppy focus / mouse follows focused window #756

jtaala opened this issue Jan 20, 2024 · 0 comments
Labels
enhancement Adds a new feature or extends scope

Comments

@jtaala
Copy link
Collaborator

jtaala commented Jan 20, 2024

Request from @bilboquet:

Hello,

I'm a huge fan of sloppy focus, I was even using sloppy focus with PaperWM (sometimes with the help of other extensions). At some point, the behavior of PaperWM changed a bit and some helper extensions I was using were abandoned, so I turned off sloppy focus.

So the "focus follow the mouse pointer when it changes monitor" behavior is not a big deal to me. In fact, what I look strange and see as a bit of inconsistency is that the "focus follow the mouse pointer" only "when it changes monitor".
I'd even say that in the current case it's not that the focus follow the mouse: I can move the mouse pointer to my second screen, the focus will change from screen but the windows receiving the mouse pointer will be the one focused only if it was "the last focused window on this screen".
In our case, it's more : the mouse pointer follows the focus only when the focus changes from one screen to another.

I understand people that don't like this behavior and would like it to be disabled but in some cases it makes perfect sense: often, if I change the focused screen, chances are high that I'll need the mouse cursor to be around.

So please, don't purely disable this behavior and please and a parameter for that, something like:
image

  • Disabled: changing screen with keyboard won't touch the mouse pointer
  • Screen: keep the current behavior
  • Window: the mouse pointer follows the focus changes from the keyboard, putting the mouse pointer in the center of the focused window (I would love it, there was an extension for that but it used to not work well with PaperWM)

Thanks for reading

Originally posted by @bilboquet in #389 (comment)

@jtaala jtaala added the enhancement Adds a new feature or extends scope label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds a new feature or extends scope
Projects
None yet
Development

No branches or pull requests

1 participant