Go to file
Frank Praznik 57504385e0 wayland: Maintain aspect ratio while resizing the window
Note that Wayland places a restriction on windows being resized, where the requested size passed to the configuration event is a maximum, and attempting to exceed it is a protocol violation, so trying to grow the window by dragging the sides only vertically or horizontally is limited, as the provided dimensions can't be exceeded.

In practice, nothing seems to kill clients that do this, but the more immediate problem is that doing so causes GNOME to glitch out.
2024-05-29 12:23:36 -04:00
.github release: build mingw binaries on Ubuntu 24.04 2024-05-27 02:30:51 +02:00
VisualC Add basic vulkan support to offscreen video driver so it doesn't crash if you happen to get the offscreen driver and try to use vulkan. 2024-05-28 20:02:55 -07:00
VisualC-GDK VC: don't import Microsoft.CPP.UpgradeFromVC[67]0.props projects 2024-05-24 11:13:40 +02:00
VisualC-WinRT include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
Xcode xcode: cmake scripts inside frameworks in side xcframework differ from the top cmake script 2024-05-22 20:17:13 +02:00
android-project isVRHeadset returns true for Pico headsets 2024-05-23 17:39:06 -07:00
build-scripts Removed short aliases for 16-bit pixel formats 2024-05-27 07:24:46 -07:00
cmake cmake: detect CPU architecture in 1 compilation 2024-05-26 23:52:48 +02:00
docs Added the timerID to the SDL timer callback 2024-05-27 07:57:33 -07:00
include Add basic vulkan support to offscreen video driver so it doesn't crash if you happen to get the offscreen driver and try to use vulkan. 2024-05-28 20:02:55 -07:00
mingw/pkg-support mingw: add pkg-support files (INSTALL.txt and Makefile) 2024-03-23 21:41:20 +01:00
src wayland: Maintain aspect ratio while resizing the window 2024-05-29 12:23:36 -04:00
test main: Make the main callback return value symbols smaller (thanks, @Lzard!). 2024-05-27 16:03:45 -04:00
wayland-protocols wayland: Implement SetWindowOpacity via the alpha modifier protocol 2024-05-26 14:17:05 -04: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 Fixed formatting for Haiku cc files 2023-01-25 03:03:41 -08:00
.gitignore .gitignore: Adding compile_commands.json and .cache/ 2024-04-26 08:48:22 -07:00
.wikiheaders-options wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
Android.mk Android: Implement open and save file dialog. 2024-05-06 09:33:48 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt Add basic vulkan support to offscreen video driver so it doesn't crash if you happen to get the offscreen driver and try to use vulkan. 2024-05-28 20:02:55 -07:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Updated INSTALL.md 2024-04-10 09:18:42 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16: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. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)