Skip to content

winewayland: Ignore relative motion while pointer lock is deactivated.

If the lock is deactivated, mouselook won't work properly, and the user probably doesn't want mouselook to be active. For example:

  • if the user is making their compositor inhibit constraints to temporarily prevent applications from disrupting pointer movement.

  • if the keyboard is unfocused on the window, the lock is almost certainly deactivated.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56681

Merge request reports

Loading