| Summary: | HINT to show cursor in RELATIVE mouse mode | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mouhamad Kebe <mouh.m.kebe> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | mouh.m.kebe |
| Version: | 2.0.9 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | suggested patch | ||
Some platforms implement relative mode by warping the cursor to the center of the screen every frame. On other platforms, the cursor will go to the edge of the screen and just stick there. Are you sure you want to see that? For applications that have a logical cursor in relative mode, it's probably better for them to just draw the cursor where they intend for it to be. That's what most games do. |
Created attachment 3501 [details] suggested patch By default, SDL hides the cursor in relative mouse mode. Some applications may want to be able to display it. If SDL_HINT_MOUSE_RELATIVE_SHOW_CURSOR is set to "1", the cursor will be visible