Simple DirectMedia Layer https://libsdl.org
Find a file
Ryan C. Gordon cf63af8ae2
events: Don't lose window RESIZED events during SIZED_CHANGED processing.
Previously, calling SDL_SendWindowEvent for a SIZED_CHANGED event would
filter the queue to remove RESIZED and SIZED_CHANGED events, so you don't
overflow the queue with obsolete data, but any RESIZED events would be
lost in this process.

Now we note if there was a RESIZED pending and replace it with a new
event using the same dimensions as the new SIZED_CHANGED event. This fixes
cases where an app is only listening for RESIZED events and thus might
lose important information in some cases.

Fixes #5925.
2022-07-31 22:10:45 -04:00
.github Add more mingw-w64 build workflows 2022-07-30 14:37:41 -07:00
acinclude
android-project
android-project-ant
build-scripts
cmake Add more mingw-w64 build workflows 2022-07-30 14:37:41 -07:00
docs Update the list of required Ubuntu packages, and add Ubuntu 22.04 workflows 2022-07-30 13:07:54 -07:00
include Applied DragonFly BSD patch 2022-07-30 16:32:21 -07:00
mingw/pkg-support/cmake
src events: Don't lose window RESIZED events during SIZED_CHANGED processing. 2022-07-31 22:10:45 -04:00
test Greatly improved Nintendo Joy-Con support using the HIDAPI driver 2022-07-28 19:22:27 -07:00
VisualC Greatly improved Nintendo Joy-Con support using the HIDAPI driver 2022-07-28 19:22:27 -07:00
VisualC-GDK Greatly improved Nintendo Joy-Con support using the HIDAPI driver 2022-07-28 19:22:27 -07:00
VisualC-WinRT
visualtest
wayland-protocols
Xcode Added SDL_hidapi_combined.c to the Xcode project 2022-07-28 21:54:34 -07:00
Xcode-iOS
.clang-format
.editorconfig
.gitignore
.wikiheaders-options
Android.mk
autogen.sh
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt cmake: define SDL_STATIC_LIB for static SDL2 library 2022-07-29 15:05:19 +02:00
configure Applied DragonFly BSD patch 2022-07-30 16:30:32 -07:00
configure.ac Applied DragonFly BSD patch 2022-07-30 16:30:32 -07:00
CREDITS.txt
INSTALL.txt
LICENSE.txt
Makefile.in
Makefile.minimal
Makefile.os2 Greatly improved Nintendo Joy-Con support using the HIDAPI driver 2022-07-28 19:22:27 -07:00
Makefile.pandora
Makefile.w32 Greatly improved Nintendo Joy-Con support using the HIDAPI driver 2022-07-28 19:22:27 -07:00
README-SDL.txt
README.md
sdl2-config-version.cmake.in
sdl2-config.cmake.in
sdl2-config.in
sdl2.m4
sdl2.pc.in Compatible with including as <SDL2/SDL.h> 2022-07-28 20:34:34 -07:00
SDL2.spec.in
SDL2Config.cmake.in
TODO.txt
WhatsNew.txt Greatly improved Nintendo Joy-Con support using the HIDAPI driver 2022-07-28 19:22:27 -07:00

Simple DirectMedia Layer (SDL) Version 2.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)