SDL/src
Daniel Gibson 72d8128520 Improve SDL_CreateWindow() fullscreen support on Windows
.. and maybe other platforms as well (though X11 was not affected)?

The issue was that passing a higher resolution than the current desktop
resolution to SDL_CreateWindow() with SDL_WINDOW_FULLSCREEN didn't switch
to that resolution (even though it did switch to lower resolutions).

When creating a fullscreen window, window->fullscreen wasn't even set
at all (only zeroed out), setting it only happened if the user explicitly
called SDL_SetWindowDisplayMode(). So without that, SDL_CreateWindow()
-> SDL_UpdateFullscreenMode() -> SDL_GetWindowDisplayMode() used the
resolution from window->windowed.w/h which were limited to the desktop size
due to some weird combination of WIN_AdjustWindowRectWithStyle() and
WIN_WindowProc() being called after a call to SetWindowPos().

fixes #3313
2021-08-04 12:48:48 -07:00
..
atomic spinlock: Favor gcc-style atomics over MSVC interfaces. 2021-07-27 13:45:33 -04:00
audio audiocvt: The to-5.1 converters now soften FL and FR channels more. 2021-07-29 17:55:59 -04:00
core dbus: Wrap init in a spinlock. 2021-08-04 13:30:12 -04:00
cpuinfo Fix pointer provenance in SDL_SIMDRealloc 2021-07-29 14:42:15 -07:00
dynapi Added SDL_GameControllerGetSensorDataRate() to get the sensor update rate for a controller. 2021-07-29 06:43:39 -07:00
events Avoid warping the cursor to the center of the window when not in relative_warp_mode 2021-07-08 09:27:09 -07:00
file Add support for Vita file API in SDL_rwops 2021-03-08 09:07:12 -08:00
filesystem Windows: Fix SDL_GetBasePath() truncating paths 2021-06-12 23:07:46 -04:00
haptic Rename haptic methods to avoid confusion with joystick: 2021-06-10 16:41:09 -07:00
hidapi Implemented the timeout in hid_read_timeout() on Android 2021-07-08 18:44:50 -07:00
joystick Added support for the Joy-Con Charging Grip when SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS is enabled 2021-08-04 11:34:06 -07:00
libm Updated copyright for 2021 2021-01-02 10:25:38 -08:00
loadso Updated copyright for 2021 2021-01-02 10:25:38 -08:00
locale consistently use TEXT() macro with LoadLibrary() and GetModuleHandle() 2021-01-04 01:23:50 +03:00
main Updated to version 2.0.16 for release 2021-07-31 13:28:54 -07:00
misc unix: OpenURL: Move unsetenv above vfork 2021-08-01 03:58:49 -07:00
power Initial rebase of xerpi's port 2021-03-08 09:07:12 -08:00
render direct3d: Commit viewport state before clearing, attempt 2. 2021-08-04 07:00:17 -04:00
sensor Deprecate dolcesdk 2021-03-08 09:07:12 -08:00
stdlib Fix casts that should be using uintptr_t 2021-07-29 14:42:15 -07:00
test Added a window flash operation to be explicit about window flash behavior 2021-07-24 13:42:19 -07:00
thread Migrate to lightweight mutexes 2021-04-24 14:13:09 -07:00
timer Formatting 2021-03-08 09:07:12 -08:00
video Improve SDL_CreateWindow() fullscreen support on Windows 2021-08-04 12:48:48 -07:00
SDL.c linux: (de)initialize d-bus at init and quit. 2021-04-02 14:35:11 -04:00
SDL_assert.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_assert_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_internal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_log.c log: Fixed compiler warnings on 64-bit Visual Studio. 2021-08-04 02:34:09 -04:00