Go to file
Frank Praznik 1f177cf93e wayland: Refactor constraint handling
According to the xdg-shell spec, xdg-toplevel min/max values are just hints, which compositors are free to ignore, and they often do so in several cases (usually when tiling, maximizing, or entering fullscreen). Even with the hints set, manually constraining the surface dimensions for non-maximized, non-fullscreen surfaces is required for consistent behavior.

In the case of maximized windows, the dimensions as specified in the configure event are non-negotiable and must be respected by the client, as not doing so is a protocol violation.

This also eliminates some redundant calls to set the libdecor resizable state, which can cause unnecessary commits internally.
2023-04-02 10:51:37 -04:00
.github ci: use loongson official cross toolchains 2023-03-30 05:15:28 +02:00
VisualC Add intrinsics test automation 2023-03-21 23:03:02 +03:00
VisualC-GDK Remove include/SDL3/SDL_name.h 2023-02-18 12:33:54 -08:00
VisualC-WinRT Remove include/SDL3/SDL_name.h 2023-02-18 12:33:54 -08:00
Xcode cmake: use compatible interface properties to disallow linking to a different version of SDL 2023-03-03 23:40:57 +01:00
android-project Android: indicate gamepaddb entries where axis order changed. 2023-03-11 12:43:48 -08:00
build-scripts Added SDL_CreateWindowWithPosition() 2023-03-31 17:21:44 -07:00
cmake Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
docs Added SDL_CreateWindowWithPosition() 2023-03-31 17:21:44 -07:00
include Added SDL_CreateWindowWithPosition() 2023-03-31 17:21:44 -07:00
mingw/pkg-support/cmake build: don't add SDL3 subfolder to include path for external projects 2022-11-27 14:33:13 -08:00
src wayland: Refactor constraint handling 2023-04-02 10:51:37 -04:00
test Added SDL_CreateWindowWithPosition() 2023-03-31 17:21:44 -07:00
wayland-protocols wayland: Add high-resolution event timestamp support 2022-12-04 16:56:26 -08:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:01 -08:00
.clang-tidy Add clang-tidy config and CMake/CI support. 2023-02-06 21:02:25 -08:00
.editorconfig Fixed formatting for Haiku cc files 2023-01-25 03:03:41 -08:00
.gitignore include: add \brief to includes 2023-02-19 10:01:33 -08:00
.wikiheaders-options sdlwiki: SDL3 advises users to include through 'SDL3/SDL.h' 2023-03-21 02:19:19 +01:00
Android.mk Create a static SDL_test library on Android 2023-01-25 13:06:42 -08:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt intrinsics: add lsx/lasx intrinsic headers when not disabled 2023-03-30 04:00:48 +02:00
CREDITS.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
INSTALL.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
LICENSE.txt Updated copyright for 2023 2023-01-09 09:41:41 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 2021-04-01 12:20:33 -04:00
WhatsNew.txt Added SDL_GetWindowParent() to get the parent of popup windows 2023-03-13 11:21:02 -07:00

README.md

Simple DirectMedia Layer (SDL) Version 3.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)