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

On Windows, confine cursor to center of window when grabbed and hidden #3562

Merged
merged 1 commit into from Mar 18, 2024

Commits on Mar 18, 2024

  1. fix(windows): configure hidden and grabbed cursor

    This fixes issues where a hidden and grabbed cursor could leave the
    window and become visible on top of the windows taskbar (and potentially
    leave the window altogether if the taskbar is clicked) under at least
    two occasions:
    
        - When a window is overlapping the taskbar.
        - When a window is maximized and Automatically hide the taskbar has
          been enabled.
    
    This approach of confining the cursor to the center of the window is
    used in SDL.
    fornwall authored and kchibisov committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    eabd472 View commit details
    Browse the repository at this point in the history