SDL/src
Sam Lantinga 98bac00dcc Add SDL_GetPointDisplayIndex and SDL_GetRectDisplayIndex and re-implement SDL_GetWindowDisplayIndex in terms of SDL_GetRectDisplayIndex
- This allows looking up the display index for an arbitrary location rather than requiring an active window to do so.

- This change also reimplements the fallback display lookup that found the display with center closest to the window's center to instead find the display rect edge
  closest to the window center (this was done in the almost identical display lookup used in SDL_windowsmodes.c, which now uses `SDL_GetPointDisplayIndex`). In
  practice this should almost never be hit as it requires the window's center to not be enclosed by any display rect.
2022-08-08 11:26:52 -07:00
..
atomic Proposing exposing as public api the various arch dependent 2022-08-04 08:47:39 -07:00
audio Fix use after free when removing Windows audio device 2022-08-02 10:24:11 -04:00
core evdev: Support user-provided devices via SDL_EVDEV_DEVICES in non-udev mode. 2022-08-07 16:37:07 -07:00
cpuinfo Use proper header for OpenBSD PPC CPU detection 2022-06-27 11:01:34 -07:00
dynapi Add SDL_GetPointDisplayIndex and SDL_GetRectDisplayIndex and re-implement SDL_GetWindowDisplayIndex in terms of SDL_GetRectDisplayIndex 2022-08-08 11:26:52 -07:00
events Fixed infinite loop when SDL_SendKeyboardText() is passed invalid UTF-8 text 2022-08-01 09:55:53 -07:00
file Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
filesystem Fixed some Xcode warnings 2022-07-17 09:07:04 -07:00
haptic Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
hidapi Added support for the HORIPAD FPS for Nintendo Switch 2022-08-05 10:37:38 -07:00
joystick Fixed shadow variable warning 2022-08-08 08:36:17 -07:00
libm Add some PS2 flags 2022-06-15 15:15:26 -07:00
loadso use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00
locale Vita: add SDL_GetPreferredLocales support 2022-03-29 15:02:21 -07:00
main Add a way to avoid IOP reset 2022-08-08 08:32:38 -07:00
misc Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
power Don't fail to get battery status if the upower refresh call fails 2022-02-04 14:02:44 -08:00
render Implement SetTextureScaleMode 2022-08-08 09:34:08 -07:00
sensor Removed problematic call to ISensor_SetEventSink() 2022-03-17 10:01:13 -07:00
stdlib Applied DragonFly BSD patch 2022-07-30 16:34:40 -07:00
test Added a command line option --info event_motion to show mouse and finger motion events 2022-07-29 20:37:38 -07:00
thread Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
timer Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
video Add SDL_GetPointDisplayIndex and SDL_GetRectDisplayIndex and re-implement SDL_GetWindowDisplayIndex in terms of SDL_GetRectDisplayIndex 2022-08-08 11:26:52 -07:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_assert.c hide SDL_GenerateAssertionReport in case SDL_ASSERT_LEVEL is 0 2022-07-25 14:26:46 -07:00
SDL_dataqueue.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error_c.h Removed the limit on the size of the SDL error message 2022-06-27 16:59:50 -07:00
SDL_error.c Fix SIGSEV in SDL_error (After removing the limit on the size of the SDL error message) (see #5795) 2022-06-28 09:46:12 +02:00
SDL_guid.c Refactoring: move GUID operations out of Joystick 2022-06-04 17:22:13 -07:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.c SDL_SetHintWithPriority: actually, this test is good. 2022-06-06 10:55:29 -04:00
SDL_internal.h Fix enabling SDL_DYNAMIC_API in OpenWatcom builds 2022-05-19 20:11:10 +03:00
SDL_list.c Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_list.h Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00
SDL_log.c android: Add missing entries to SDL_category_prefixes table. 2022-07-05 17:50:19 -07:00
SDL_utils_c.h Fixed comment (thanks @pionere!) 2022-07-18 07:18:56 -07:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL.c Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00