Open ngoonee opened 2 years ago
Am I right in thinking that the linked Python script wouldn't work on Wayland? It references Xlib.
Yes, it would not work on Wayland, unfortunately.
What I'd like is to warp the mouse only when a shortcut changes the focus - windows, screen or desktop focus
Summary
Currently, window selection doesn't involve any warping of mouse position. This is fine for single-monitor use, but a hassle for multi-monitor use because part of the benefit of tiling is being faster to switch between screens, and having to move the mouse pointer over reduces that benefit. This also works oddly if focus-follows-mouse is used.
A clear and concise description of what you want to happen
Either:
Both would help (configurable option would be good as well so this doesn't disrupt single-monitor users, though I believe number 1 would be helpful to everyone
A clear and concise description of any alternative solutions or features you've considered.
No response
Additional info
Some discussion on a python script for this was available here - https://www.reddit.com/r/kde/comments/q2grrp/mouse_auto_follows_focused_window_python/