Files
SDL/src/video
Ethan Lee 4b42c05ba1 video: Add SDL_SetWindowMouseRect.
This API and implementation comes from the Unreal Engine branch of SDL, which
originally called this "SDL_ConfineCursor".

Some minor cleanup and changes for consistency with the rest of SDL_video, but
there are two major changes:

1. The coordinate system has been changed so that `rect` is _window_ relative
   and not _screen_ relative, making it easier to implement without having
   global access to the display.
2. The UE version unset all rects when passing `NULL` as a parameter for
   `window`, this has been removed as it was an unused feature anyhow.

Currently this is only implemented for X, but can be supported on Wayland and
Windows at minimum too.
2021-11-08 14:16:54 -08:00
..
2021-03-13 18:36:01 -08:00
2021-08-10 12:07:32 -07:00
2021-01-02 10:25:38 -08:00
2021-10-26 08:29:56 -07:00
2021-01-02 10:25:38 -08:00
2021-11-08 09:39:21 -08:00
2021-11-08 14:16:54 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-03-04 14:36:33 +01:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-10-30 21:42:07 -07:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-11-08 14:16:54 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00