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

Mouse automatically moves with active window #188

Open
Xionical1 opened this issue Jul 9, 2024 · 0 comments
Open

Mouse automatically moves with active window #188

Xionical1 opened this issue Jul 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Xionical1
Copy link

Moving windows with 'Focus follows mouse' option (or other) will cause subsequent shortcuts to act on a different window due to a different window gaining focus upon moving.

Whenever moving a window using hotkeys I would like an option for the mouse to snap to (by default) the center of the window. Or perhaps the same position relative to where it was before the move.

I could just enable 'Click to focus' but I like the focus following the cursor when I am using it.

I might be able to use some other script that moves the cursor to the last active window, and bind that to a shortcut, but that is super clunky and seems like a waste to not implement it here.

Hopefully this is possible. If not I understand, as wayland more or less makes it difficult to take control of the users inputs.
I also looked at the api, and it seems like there is no official way to change the mouse position. However with ydotool you can move the mouse. See here.

Thank you for your consideration.

@Xionical1 Xionical1 added the enhancement New feature or request label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant