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

Gaming Issue with Modifier Keys + Mouse #2300

Closed
killown opened this issue Apr 1, 2024 · 1 comment
Closed

Gaming Issue with Modifier Keys + Mouse #2300

killown opened this issue Apr 1, 2024 · 1 comment
Labels

Comments

@killown
Copy link
Contributor

killown commented Apr 1, 2024

Issue Description:
During testing with the game RDR2, it was observed that Wayfire does not disable modifiers when there is mouse pointer confinement active. Consequently, this allows activation of Wayfire keybinds while playing a game. For instance, pressing Alt + Left Mouse Button results in moving the view instead of utilizing in-game shortcuts.

Initial Observation:
1 - CPU usage from Wayfire jumps from 4% to 33% when a modifier key + mouse combination is active.
2 - This issue was initially noticed in Counter-Strike 2, where a noticeable lag occurs when holding Shift + mouse clicks.

Expected Behavior:
The expected behavior entails the automatic disabling of modifiers if the focused view has a pointer constrainer enabled.

@killown killown added the bug label Apr 1, 2024
@ammen99
Copy link
Member

ammen99 commented Apr 2, 2024

The expected behavior entails the automatic disabling of modifiers if the focused view has a pointer constrainer enabled.

There is no such expectation. If an app wants to disable key/button bindings there is a separate protocol for this: #1969

@ammen99 ammen99 closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants