| Summary: | [Patch] KMSDRM: manage SDL_GetGlobalMouseState() | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Manuel Alfayate Corchete <redwindwanderer> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Fix for SDL_GetGlobalMouseState() in KMSDRM | ||
Patch added, thanks! https://hg.libsdl.org/SDL/rev/5967fd814738 |
Created attachment 4344 [details] Fix for SDL_GetGlobalMouseState() in KMSDRM Hi again, On the KMSDRM backend, there is no such thing as a desktop, yet some programs could (and DO) use SDL_GetGlobalMouseState(). So I think its good idea that, in KMSDRM, it returns the same mouse coordinates anyway as SDL_GetMouseState() would return. There is nothing else it could return, as far as I can understand, since there is no desktop anyway. This small patch does precisely that.