Skip to content

set_cursor_grab(true) makes mouse_position() go out of bounds #1013

@KatTheGit

Description

@KatTheGit

If you set cursor grab to true, and then move your mouse to one side until you hit the edge of your screen and then keep going, mouse_position() shows much higher values that your screen's width, even if your actual mouse cursor is clamped inside the window.
I'm on X11 Debian.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions