https://bugs.kde.org/show_bug.cgi?id=504654
Bug ID: 504654
Summary: Pointer (mouse cursor) not confined in fullscreen
Xwayland games at native resolution when primary
monitor is positioned to the right (Wayland)
Classification: Plasma
Product: kwin
Version First 6.3.5
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: xwayland
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When running fullscreen games via Proton (using Xwayland) on KDE Wayland, the
mouse cursor is not confined to the game window if:
- The game resolution is set to the native resolution of the display
- The primary monitor is positioned to the right of another display in KDE’s
layout
Under these conditions:
- The cursor can move between displays
- KDE’s “shake to locate pointer” effect still triggers, indicating the grab is
not active
- This happens even though the game believes it has grabbed the pointer
What works (cursor is correctly confined):
- Lowering the game resolution below native
- Setting the left monitor as primary in KDE
- Manually assigning the left monitor as primary in xrandr
- Enabling PROTON_ENABLE_WAYLAND=1 to run natively under Wayland
- Using gamescope --force-grab-cursor (undesired workaround)
Environment:
- KDE Plasma (Wayland session)
- Reproduced on both Arch Linux and Fedora
- NVIDIA GPU and proprietary driver (issue not confirmed to be NVIDIA-specific)
Suspected cause:
Xwayland may mishandle pointer confinement when:
- The primary monitor is not at (0, 0)
- The game runs fullscreen at native resolution
- This layout prevents proper pointer grabbing under X11 emulation
Related issues:
https://github.com/ValveSoftware/Proton/issues/3871
https://github.com/ValveSoftware/Proton/issues/7902
--
You are receiving this mail because:
You are watching all bug changes.