SDL/src
Frank Praznik 0dae35bf3d video: wayland: Use xdg-output for retrieving the desktop dimensions
Using wl-output to get the desktop display dimensions and dividing by the integer scale factor will not return the correct result when using a desktop with fractional scaling (e.g. a 3840x2160 display at 150% will incorrectly report the scaled desktop area as 1920x1080 instead of 2560x1440).  Use the xdg-output protocol, if available, to retrieve the correct desktop dimensions and offset.

Versions 1 through 3 of the protocol are supported.
2022-03-23 19:43:11 -04:00
..
atomic move bug #5333 fix to headers 2022-02-08 21:32:50 +03:00
audio audio: Set error message on dsp init failure. 2022-03-20 10:31:19 -07:00
core Workaround for bug in Microsoft WGI support 2022-03-17 17:10:40 -07:00
cpuinfo Updated copyright for 2022 2022-01-03 09:40:21 -08:00
dynapi Add SDL_RenderGetWindow() API to get the window associated with a renderer (#5440) 2022-03-23 17:07:56 +01:00
events hints: Added SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE. 2022-03-22 09:54:29 -04:00
file allow MacOS build without SDL_FILE 2022-01-28 20:40:19 -05:00
filesystem SDL_GetBasePath() fixes for OS/2 2022-03-17 03:50:02 +03:00
haptic re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory 2022-01-28 20:40:19 -05:00
hidapi Also fix Android crash when SDL_HIDAPI_DISABLED set to 1 2022-03-22 12:12:16 -07:00
joystick Fixed freeing a constant string (thanks @gnrlwart) 2022-03-22 20:24:17 -07:00
libm Updated copyright for 2022 2022-01-03 09:40:21 -08:00
loadso use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00
locale Updated copyright for 2022 2022-01-03 09:40:21 -08:00
main Updated to version 2.0.21 for development 2022-01-17 15:32:27 -08:00
misc minor update to winrt/SDL_sysurl.cpp 2022-02-04 20:03:50 +03:00
power Don't fail to get battery status if the upower refresh call fails 2022-02-04 14:02:44 -08:00
render Add SDL_RenderGetWindow() API to get the window associated with a renderer (#5440) 2022-03-23 17:07:56 +01:00
sensor Removed problematic call to ISensor_SetEventSink() 2022-03-17 10:01:13 -07:00
stdlib stdlib: just cast iconv()'s 2nd arg to void *. 2022-03-22 16:14:06 -04:00
test Updated copyright for 2022 2022-01-03 09:40:21 -08:00
thread pthread/SDL_systhread.c: always include errno.h 2022-02-05 08:56:56 +03:00
timer timer: Fix Emscripten declaration-after-statement error 2022-01-22 12:27:54 +00:00
video video: wayland: Use xdg-output for retrieving the desktop dimensions 2022-03-23 19:43:11 -04:00
SDL.c re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory 2022-01-28 20:40:19 -05:00
SDL_assert.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08: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 Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_internal.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_log.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00