Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W wine
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Alexandros Frantzis
  • wine
  • Merge requests
  • !39

Mafia pointer bug

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Sergio Gómez Del Real requested to merge sergiogdr89/wine-wayland:Mafia_pointer_bug into wayland Sep 24, 2022
  • Overview 1
  • Commits 304
  • Changes 52

We are currently bypassing Wine's NtUserSetCursor() to call directly the driver's implementation. This doesn't take into account the current state of the cursor's visibility through NtUserShowCursor(). Since drivers don't handle this last function, Wine doesn't give us details about the visibility. Hence, we should go through Wine's NtUserSetCursor() and let Wine pass the correct information to the driver (i.e., if we should show the cursor or not, depending on *ShowCursor's count value).

This solves the pointer issues in Mafia, and I'd expect that it'd solve issues in other games as well.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Mafia_pointer_bug