Simple DirectMedia Layer https://libsdl.org
Find a file
Simon McVittie 8b64dd67d2 wayland: Fix compile with libdecor 0.2 and SDL_WAYLAND_LIBDECOR_SHARED=OFF
libdecor 0.3, which changes the signature of libdecor_new and
libdecor_decorate to use a const pointer to the interface struct, has
not yet been released. In the latest release, libdecor 0.2.4, the
interface struct is a mutable pointer.

This doesn't affect typical upstream builds with
SDL_WAYLAND_LIBDECOR_SHARED=ON, in which case we're casting a pointer
returned by dlsym(); but Linux distributions that want tighter control
over dependencies often prefer to link them in the normal way, in which
case the build will fail if the signature doesn't match.

Fixes: 33834360 "wayland: Fix libdecor incompatible pointer types"
Signed-off-by: Simon McVittie <smcv@collabora.com>
2025-10-30 07:13:37 -07:00
.github ci: bump macos-13 to macos-14 2025-10-16 20:07:18 +02:00
android-project Updated to version 3.3.3 for development 2025-10-23 22:41:03 -07:00
build-scripts wikiheaders: Don't ignore macro symbols that are defined without any content. 2025-10-25 15:05:36 -04:00
cmake cmake: make sure VARIABLE of check_linker_supports_version_file ends up in cache 2025-10-27 03:01:57 +01:00
docs README-emscripten: Added a note about how the 2D API handles vsync differently. 2025-10-20 12:35:52 -04:00
examples Support resizable windows with most examples 2025-10-07 15:33:10 -04:00
include testautomation: verify that RLE operation output is correct 2025-10-29 09:07:56 -07:00
src wayland: Fix compile with libdecor 0.2 and SDL_WAYLAND_LIBDECOR_SHARED=OFF 2025-10-30 07:13:37 -07:00
test testautomation: fixed RLE operation test on big endian systems 2025-10-29 16:26:31 +00:00
VisualC Added SDL_RotateSurface() 2025-10-22 17:55:02 -07:00
VisualC-GDK Added SDL_RotateSurface() 2025-10-22 17:55:02 -07:00
wayland-protocols Add SDL Pinch events (#9445) 2025-10-12 14:44:23 -07:00
Xcode Updated to version 3.3.3 for development 2025-10-23 22:41:03 -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
Android.mk android: Remove SDL3-static from Android.mk 2025-09-12 17:37:31 +02:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt cmake: SDL_process on unix needs vfork symbol 2025-10-26 23:22:37 +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:25:17 -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 Added a patch note for SDL_ELF_NOTE_DLOPEN 2025-10-27 08:28:05 -07: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)