Simple DirectMedia Layer https://libsdl.org
Find a file
Frank Praznik 0a45525242 wayland: Handle min/max sizes in fixed-size windows with viewports
Wayland is sometimes at-odds with clients that want to enforce an aspect ratio or min/max window size, as certain window states have dimensions that either must be obeyed (maximized), or will give terrible results if they aren't (tiled). Use a viewport and a masking subsurface to handle cases where surfaces are unable to match the exact window size.

The changes made to accommodate this also catches some additional windowing related edge-cases, simplifies synchronization, and prevents commits before a buffer has been attached to the surface.
2026-02-28 12:55:17 -05:00
.github Support building for ARM64 with the MSVC project 2026-01-19 10:16:35 -08:00
android-project Added support for the Flydigi Vader 5 Pro in Xbox 360 mode 2026-02-24 10:18:17 -08:00
build-scripts CodeSpell 2026-02-07 18:14:00 +03:00
cmake ci: add CFLAGS to pkg-config link command 2026-02-20 11:20:43 -08:00
docs Sync SDL3 wiki -> header 2026-02-24 15:05:20 +00:00
examples examples: Make source code and console tabs take 80% of browser page. 2026-02-16 14:26:51 -05:00
include Fixed definition of builtin function '_m_prefetch' 2026-02-25 14:29:07 -08:00
src wayland: Handle min/max sizes in fixed-size windows with viewports 2026-02-28 12:55:17 -05:00
test test: Add testgpu_spinning_cube_xr (#14943) 2026-02-23 11:14:19 -05:00
VisualC testtray: created VS project and added new click callbacks 2026-02-05 11:08:05 -08:00
VisualC-GDK testgdk: Update icon filename for the new png image 2026-02-26 10:44:58 -05:00
wayland-protocols wayland: Handle min/max sizes in fixed-size windows with viewports 2026-02-28 12:55:17 -05:00
Xcode Hiding OpenGLES API deprecation since iOS 12.0 warning 2026-02-15 10:57:07 -08:00
.clang-format
.clang-tidy
.editorconfig
.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 GPU: OpenXR integration (#14837) 2026-01-30 17:18:51 -05:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt CodeSpell 2026-02-07 18:14:00 +03:00
CREDITS.md
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:40:08 -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)