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

ogc: do not create a new mouse cursor at every frame #41

Merged
merged 1 commit into from
Jan 17, 2024

Commits on Jan 17, 2024

  1. ogc: do not create a new mouse cursor at every frame

    The system default cursor is not supposed to change, so we can create it
    just once (when the mouse gets initialized). In the polling callback we
    then just need to hide or show it.
    
    The logic of showing is not changed: if the application has set a
    specific cursor, then it's in full control of its visibility; but if
    it's using the default cursor, then we show the cursor only if at least
    one wiimote is pointed at the screen.
    mardy committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    5f06644 View commit details
    Browse the repository at this point in the history