Bug 506974

Summary: Mouse Icon and Position Offset in Steam Games With Disabled Monitor
Product: [Plasma] kwin Reporter: Michael Kreitzer <mrgrim>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.4.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael Kreitzer 2025-07-13 01:25:15 UTC
I have two monitors both with a single panel at the bottom. When I disable one of them and start a game (may not just be Steam, but that's all I use), the mouse cursor icon draws maybe a centimeter above where the cursor position actually is.

If I alt tab out and click back in, the icon and position match until I click once in the game, then they immediately diverge once more.

Using one older version of Proton I got a slightly different behavior. The icon and position matched, but I could not click on anything on the bottom centimeter or so of the screen.

I do not know if this is a kwin issue, a proton issue, plasma issue, or something else. I wouldn't even know where to start. My guess is that panel on the disabled monitor is still alive in some way and conflicting. This is on Wayland. I tested multiple proton versions and multiple games. Logging out and back in does not resolve the issue.

Re-enabling the second monitor solves the mouse position problems.

The only other detail I can think of is the disabled monitor is in portrait orientation to the right of the primary monitor. Please let me know what more information I can provide.
Comment 1 Michael Kreitzer 2025-07-13 01:27:45 UTC
Oh a few more details I remembered:

Setting the game to regular fullscreen or borderless window fullscreen makes no difference.
Toggling between a hardware or software cursor in the game makes no difference.

I'm not even sure if these matter or do anything in Linux tbh.