Simple DirectMedia Layer https://libsdl.org
Find a file
Frank Praznik c9b993f7b6
wayland: Prevent the window from errantly growing when scale to display is used
Some compositors will send a configure event immediately after a scale event, however, this event can contain the old logical size, and should be ignored, or the window will incorrectly change size when moved between displays with differing scale factors.

Store the last requested logical size as the last configure size when resizing a floating window due to a scale change, so a configure event immediately following with the old size will be ignored.

(cherry picked from commit 18219d5b53)
(cherry picked from commit 58c9c0ba7b)
2026-03-12 10:25:04 -04:00
.github Ignore the tray template when checking for the SDL revision 2025-12-31 17:10:09 -08:00
android-project Updated to version 3.2.31 for development 2025-12-31 17:54:27 -08:00
build-scripts build-scripts: Include SDL- prefix in SDL_REVISION when built from tarball 2025-12-03 08:51:52 -08:00
cmake cmake: Fix header detection with CheckUSBHID 2026-01-28 07:45:40 -08:00
docs Document SDL's policy on setuid/setgid executables 2025-12-28 10:16:44 -08:00
examples examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable. 2025-02-27 11:46:56 -05:00
include Updated to version 3.2.31 for development 2025-12-31 17:54:27 -08:00
src wayland: Prevent the window from errantly growing when scale to display is used 2026-03-12 10:25:04 -04:00
test testver: Assert that SDL_GetRevision() starts with SDL- 2025-12-03 08:51:53 -08:00
VisualC Make D3D math functions static inline to reduce likelihood of linking conflicts 2025-10-14 16:58:04 -07:00
VisualC-GDK Make D3D math functions static inline to reduce likelihood of linking conflicts 2025-10-14 16:58:04 -07:00
wayland-protocols wayland: Add color manager protocol support 2025-02-17 11:31:12 -05:00
Xcode Updated to version 3.2.31 for development 2025-12-31 17:54:27 -08: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 Allow in-tree build 2024-10-30 00:04:17 +01:00
.wikiheaders-options .wikiheaders-options: Removed wikipreamble setting. 2025-01-24 01:53:51 -05:00
Android.mk Revert "Support Google Play 16 KB Page Size Requirement (#13470)" 2025-08-07 11:41:43 -07:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt cmake: cannot detect deprecated apple-clang link options (they are not fatal) 2026-02-03 20:57:47 +01: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:26:15 -08:00
LICENSE.txt Updated copyright for 2025 2025-01-01 07:45:52 -08:00
README.md Updating documentation for the 3.2.0 release 2025-01-15 20:38:16 -08:00
WhatsNew.txt WhatsNew.txt: Moved some missing entries over to the release-3.2.x branch. 2025-12-08 11:08:04 -05: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)