Bug 503638 - Add option for pointer to move with focus
Summary: Add option for pointer to move with focus
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-02 02:24 UTC by Noland Nichols
Modified: 2025-05-06 14:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noland Nichols 2025-05-02 02:24:17 UTC
Have an option to center the cursor on any newly focused window removing the need to drag your cursor over.
Comment 1 Nate Graham 2025-05-02 15:37:23 UTC
Can you describe the use case for this?
Comment 2 Noland Nichols 2025-05-02 18:47:41 UTC
(In reply to Nate Graham from comment #1)
> Can you describe the use case for this?

For me the use case is switching to a window on the second monitor using my keyboard, but then having to drag over the cursor instead of it already being on the window.

This could be even better for 3+ monitor setups, with switching between a window from the left-most monitor to the right-most monitor and vice versa.

Also laptops with an external display with someone using the track pad on a lower sensitivity for precision.

This behavior is also just what I'm used to coming from using sway for a while with the mouse_warping variable.

Also to add to the feature request, it would be better for it to have an option to choose between moving the cursor when changing window focus, or when just changing the screen focus.