Simple DirectMedia Layer https://libsdl.org
Find a file
Frank Praznik 2ccd76818e
Some checks are pending
Build (All) / level2 (push) Blocked by required conditions
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
win32: Use the current cursor coordinates when processing WM_NCACTIVATE
The event coordinates returned by GetMessagePos() for WM_NCACTIVATE are out of date if the cursor moved while an overlay was active, and may indicate that the cursor is still in the window when it is not. Always use the current cursor coordinates when processing this message to avoid incorrectly setting mouse focus if the cursor is no longer within the window.

(cherry picked from commit 0a8ccb11eb)
2026-06-29 12:39:36 -04:00
.github ci: run GDK on older Windows environment 2026-06-10 18:47:09 +02:00
android-project Fix java.lang.NoSuchMethodError: no static method "Lorg/libsdl/app/SDLActivity;.showFileDialog([Ljava/lang/String;ZZI)Z" on release build 2026-06-03 07:05:59 -07:00
build-scripts wikiheaders: Fix links in manpage generation. 2026-06-18 13:46:36 -04:00
cmake cmake: Print a warning if the libdecor development library is missing 2026-06-25 09:47:36 -04:00
docs doc: use testspriteminimal instead of testgles in android example 2026-06-16 16:57:15 -07:00
examples examples/input/03-gamepad-polling: Render axes in blue. 2026-06-19 14:36:14 -04:00
include docs: warn not to destroy an SDL_AudioStream during its callback. 2026-06-23 13:50:57 -04:00
src win32: Use the current cursor coordinates when processing WM_NCACTIVATE 2026-06-29 12:39:36 -04:00
test render: an empty clip rect should clip all drawing 2026-05-29 13:59:23 -07:00
VisualC SDL_test: allow disabling colorized output 2025-12-15 23:19:25 +01:00
VisualC-GDK Revert "render: Added Xbox DXIL for gpu backend". 2026-03-04 15:52:52 -05:00
wayland-protocols wayland: Update the color management protocol 2025-12-15 13:54:31 -05:00
Xcode Updated to version 3.4.11 for development 2026-05-31 10:48:34 -07:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Updated .gitignore for png test data 2025-10-10 08:59:27 -07:00
.wikiheaders-options wikiheaders: Generate a current list of supported environment variables. 2025-09-02 15:49:52 -04:00
AGENTS.md AGENTS.md: Change "may not" to "must not". 2026-04-15 17:27:40 -04:00
Android.mk android: remove dependency on cpu-features.h 2025-11-11 23:41:43 +00:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CLAUDE.md CLAUDE.md: Just copy the text from AGENTS.md in here for now. 2026-04-16 13:55:51 -04:00
CMakeLists.txt Updated to version 3.4.11 for development 2026-05-31 10:48:34 -07:00
CREDITS.md Updated the credits for SDL 3.0 2025-01-13 16:42:50 -08:00
INSTALL.md Add a link to docs/INTRO-mingw.md 2025-03-06 16:25:17 -08:00
LICENSE.txt Updated copyright for 2026 2026-01-01 09:48:19 -08:00
README.md Revert "Update README.md" 2025-11-16 01:15:10 +03:00
WhatsNew.txt Added SDL_HINT_MOUSE_DPI_SCALE_CURSORS 2025-12-09 17:12:08 -08:00

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)