SDL/src/video
David Gow 78bad66773 video: wayland: Resize the window before sending the SDL_RESIZE event
Currently, the SDL_WINDOWEVENT_RESIZED event is sent before the actual
window is resized (and various internal state, such as the desired
GL/Vulkan backbuffer size, are updated). This makes sense, as SDL will
discard a no-op resize, which would be the case if we had resized before
sending the event (indeed, there are existing hacks to prevent this).

However, this means that SDL_{GL,Vulkan}_GetDrawableSize() will still
use the old size in the SDL_WINDOWEVENT_RESIZED handler. In the case of
SDL_Renderer, this means the drawable size it uses will be wrong, and
the viewport will get "updated" to the old value.

This then results in bug #5899.
2022-07-18 09:21:15 -07:00
..
android make SDL_SetTextInputRect take a pointer to const 2022-07-04 09:38:01 -07:00
arm ARM: NEON assembly optimization for SDL_FillRect 2019-10-24 21:17:52 -04:00
cocoa Fixed some Xcode warnings 2022-07-17 09:07:04 -07:00
directfb video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
dummy hints: Make SDL_VIDEODRIVER and SDL_AUDIODRIVER formal hints. 2022-04-17 11:31:55 -07:00
emscripten emscripten: use MAIN_THREAD_EM_ASM for the fb/cursor proxying 2022-06-08 08:09:46 -07:00
haiku video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
khronos Update SDL's copy of the EGL headers from Khronos 2021-08-25 10:50:21 -10:00
kmsdrm Fix assumption that DRI_DEVNAME begins at 0 (#5865) 2022-07-06 09:00:16 -07:00
nacl Remove unused internal header SDL_sysevents.h 2022-07-01 07:39:48 -07:00
ngage N-Gage port: add changes from code reviews, overall cleanup (#5618) 2022-05-11 09:31:34 -07:00
offscreen simplify SDL_DUMMY/OFFSCREEN_CreateWindowFramebuffer 2022-02-02 14:45:48 -05:00
os2 SDL_os2video.c: silenced -Wempty-body warning, along with minor tidy-up. 2022-07-08 20:56:40 +03:00
pandora video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
psp Remove unused internal header SDL_sysevents.h 2022-07-01 07:39:48 -07:00
qnx QNX: use SDL_malloc 2021-11-22 08:38:46 -08:00
raspberry Remove unused internal header SDL_sysevents.h 2022-07-01 07:39:48 -07:00
riscos riscos: Ensure that last_mouse_buttons is initialised correctly 2022-05-25 14:26:36 -07:00
uikit make SDL_SetTextInputRect take a pointer to const 2022-07-04 09:38:01 -07:00
vita video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
vivante video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
wayland video: wayland: Resize the window before sending the SDL_RESIZE event 2022-07-18 09:21:15 -07:00
windows Don't drop mouse focus on WM_MOUSELEAVE if the mouse is in relative mode; mouse-level is not meaningful for that case. 2022-07-05 21:42:24 -07:00
winrt Rename variables in SDL_egl.c to be more intuitive 2022-06-11 14:20:18 -07:00
x11 x11: Don't try to use XInput2 multitouch if not supported. 2022-07-04 12:48:32 -04:00
yuv2rgb Add optimiztion function with LSX in LoongArch 2022-06-06 08:49:09 -07:00
SDL_RLEaccel.c Don't use SDL_SIMDFree() if the pixels haven't been allocated with SDL_SIMDAlloc() 2022-05-11 08:40:17 -07:00
SDL_RLEaccel_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit.c Fixed bug #2199: make SDL_blit_slow handles SDL_PIXELFORMAT_ARGB2101010, storing as RGBA 2022-03-15 17:46:12 +01:00
SDL_blit.h fixed SDL_BlitMap typedef redefinition errors 2022-06-22 01:37:00 +03:00
SDL_blit_0.c Fixed bug #2140: basic support to convert 16 colors palette PIXELFORMAT_INDEX4, to allow conversion to SDL_Texture 2022-02-10 13:44:59 +01:00
SDL_blit_1.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_A.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_N.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_auto.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_auto.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_copy.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_copy.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_slow.c SDL_blit_slow: remove one nested 'if()' because of ARGB2101010 handling 2022-03-16 18:08:20 +01:00
SDL_blit_slow.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bmp.c Fixed loading 32-bit BMP files 2022-03-31 16:15:51 -07:00
SDL_clipboard.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_egl.c Rename variables in SDL_egl.c to be more intuitive 2022-06-11 14:20:18 -07:00
SDL_egl_c.h Rename variables in SDL_egl.c to be more intuitive 2022-06-11 14:20:18 -07:00
SDL_fillrect.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_pixels.c Move SDL_List functions to SDL_list.c to avoid more merge with eventual PR 2022-04-01 07:59:16 +02:00
SDL_pixels_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect.c SDL_Rect: Added floating point versions of all the rectangle APIs. 2022-03-19 10:35:24 -04:00
SDL_rect_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect_impl.h SDL_Rect: Added floating point versions of all the rectangle APIs. 2022-03-19 10:35:24 -04:00
SDL_shape.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_shape_internals.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_stretch.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_surface.c video: Note unused SDL_surface creation parameters for removal in SDL 3 2022-06-13 11:53:53 -07:00
SDL_sysvideo.h make SDL_SetTextInputRect take a pointer to const 2022-07-04 09:38:01 -07:00
SDL_video.c make SDL_SetTextInputRect take a pointer to const 2022-07-04 09:38:01 -07:00
SDL_vulkan_internal.h sync handling of subsystems II. 2022-01-28 20:40:19 -05:00
SDL_vulkan_utils.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_yuv.c Add optimiztion function with LSX in LoongArch 2022-06-06 08:49:09 -07:00
SDL_yuv_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
sdlgenblit.pl Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00