WayfireWM / wayfire

A modular and extensible wayland compositor

Home Page:https://wayfire.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gaming Issue with Modifier Keys + Mouse

killown opened this issue · comments

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.

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