Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new Gamescope toggle: Enable Force Grab Cursor #4341

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RuffledPlume
Copy link

@RuffledPlume RuffledPlume commented Feb 18, 2025

This PR is to add a QOL toggle that I've been using locally for awhile on multiple devices, it seems to be a common enough issue that a toggle would save people looking up the CLI arg and add it to the additional options.

Appends --force-grab-cursor to gamescope launch command, enabling will force the use of relative mouse mode at all times instead of flipping depending on cursor visibility. In games which flip visibility often can leave the mouse in the wrong mode, which will eventually cause the window to lose focus once the mouse escapes its bounds.


Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

Appends --force-grab-cursor to gamescope launch command, enabling will force the use of relative mouse mode at all times instead of flipping depending on cursor visibility.
In games which flip visibility often can leave the mouse in the wrong mode, which will eventually cause the window to lose focus once the mouse escapes its bounds.
@flavioislima
Copy link
Member

flavioislima commented Feb 18, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@RuffledPlume
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants