You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The game itself renders on the left of the screen, with a large black space on the right (that's fine, I prefer a black space instead of a stretched game).
However, when using the --force-grab-cursor, the mouse cursor is confined to an area in the centre of my screen. As a result, I can't reach the left of the screen (but can reach half of the black area on the right).
If I remove --force-grab-cursor, I can reach any part of the screen, but then I can't trigger in-game functionality which requires putting the cursor on the right of the screen (because the cursor moves out into the black area).
The text was updated successfully, but these errors were encountered:
WhyNotHugo
changed the title
--force-grab-cursor confines cursor to an area that doesn't correspond with on-screen iamge
--force-grab-cursor confines cursor to an area that doesn't correspond with on-screen image
Feb 15, 2025
The game with which I'm reproducing this is StarCraft II. Apparently it doesn't happen with non-game windows (e.g.: with Lutris launcher itself). Updated reproduction steps accordingly.
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
I'm playing StarCraft II, which only supports 16:9 on a 21:9 monitor
I run it with:
The game itself renders on the left of the screen, with a large black space on the right (that's fine, I prefer a black space instead of a stretched game).
However, when using the
--force-grab-cursor
, the mouse cursor is confined to an area in the centre of my screen. As a result, I can't reach the left of the screen (but can reach half of the black area on the right).If I remove
--force-grab-cursor
, I can reach any part of the screen, but then I can't trigger in-game functionality which requires putting the cursor on the right of the screen (because the cursor moves out into the black area).Steps To Reproduce
gamescope --force-grab-cursor -W 3440 -H 1440 -w 2560 -h 1440 -- flatpak run net.lutris.Lutris
If you don't have a 21:9 monitor, I guess you can reproduce this with something like (untested):
Hardware information
See this gist for CPU info (it's over 600 lines and likely not relevant).
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
Start-up logs:
The text was updated successfully, but these errors were encountered: