mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-15 15:58:13 +00:00
Added SDL_GetWindowMouseRect()
Also guarantee that we won't get mouse movement outside the confining area, even if the OS implementation allows it (e.g. macOS)
This commit is contained in:
@@ -843,3 +843,4 @@
|
||||
#define SDL_hid_get_serial_number_string SDL_hid_get_serial_number_string_REAL
|
||||
#define SDL_hid_get_indexed_string SDL_hid_get_indexed_string_REAL
|
||||
#define SDL_SetWindowMouseRect SDL_SetWindowMouseRect_REAL
|
||||
#define SDL_GetWindowMouseRect SDL_GetWindowMouseRect_REAL
|
||||
|
Reference in New Issue
Block a user