Fullscreen app not capturing cursor correctly
Affected version
- Fedora 40
- Wayland
- Gnome shell 46.1
- Mutter 46.1
Bug summary
Ever since I upgraded to Fedora 40 I am having issues with fullscreen applications not setting their borders correctly, which might be related to my monitor setup.
Bringing in more detail, the issue is that whenever I click in "Section 2" (see screenshot down below), which is on the right screen but ends at 2560p from the left while being in a fullscreen application the cursor is hitting a border at exactly 2560p. So this keeps me from entering "Section 3" after clicking in "Section 2" in any fullscreen application (I have tested a couple of games run through steam with a variety of proton versions ranging from 8.20 to 9.4).
This bug does not occur with KDE. All gnome extensions were disabled before restarting the user session to test again.
Steps to reproduce
- Start fullscreen application, e.g. Manor Lords
- Click in "Section 2"
What happened
After clicking in "Section 2" the cursor can no longer enter "Section 3".
What did you expect to happen
I expect the cursor to be locked to the fullscreen application I am clicking at.
This most likely happens because the application locks its borders to ((0,0), (2560,1440)). This might happen because my primary screen is set to have those dimensions, although it should start at (1920,0).
Workaround
In this locked state, I can enter "Section 3" again after putting the cursor in "Section 1" and reentering "Section 3" without clicking in "Section 2".
Relevant logs, screenshots, screencasts etc.
left screen: 1920 x 1080
right screen: 2560 x 1440, primary