Skip to content

Allow confining a hardare cursor to the window rect automatically #14349

@ZivDero

Description

@ZivDero

As far as I can see, SDL_SetWindowMouseGrab only works with a software cursor, and a hardware cursor is unaffected by this.
The mouse can still be restricted manually in Windows using ClipCursor. However, it would be nice if there was an automatic and platform-agnostic way of doing this.

Metadata

Metadata

Assignees

Labels

waitingWaiting on user response

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions