Simple DirectMedia Layer https://libsdl.org
Find a file
Ryan C. Gordon 57346f2ba8 dialog: Cocoa backend should reactivate the app after the modal dialog.
Otherwise the window won't have focus until you click on it again. Calling
makeKeyAndOrderFront isn't enough to fix it, either.

This trick comes from a similar problem we solve in our
applicationDidFinishLaunching implementation: activate (give app focus to) the
system Dock, as something that definitely exists that isn't us and is harmless
to activate, and then activate us right afterwards. This unconfuses whatever
is getting confused inside Cocoa.

Fixes #12684.
2025-05-02 01:52:42 -04:00
.github Updated to GameInput v1.1 2025-04-11 13:42:58 -07:00
android-project Joystick: Add new GIP driver to replace old Xbox One wired driver 2025-05-01 11:04:33 -07:00
build-scripts docs: improve man page generation 2025-04-08 22:52:43 -04:00
cmake cmake: make SDL_CPU_xxx variable visible when using CMAKE_OSX_ARCHITECTURES 2025-04-03 19:07:24 +02:00
docs Sync SDL3 wiki -> header 2025-04-10 17:53:43 +00:00
examples bytepusher example: always render text to render target and remove unused variable 2025-04-28 09:40:07 -07:00
include events: Add integer wheel fields for sdl2-compat 2025-05-01 22:50:52 -05:00
src dialog: Cocoa backend should reactivate the app after the modal dialog. 2025-05-02 01:52:42 -04:00
test dialog: Cocoa shouldn't crash if there's a '.' in the filters. 2025-05-01 18:11:36 -04:00
VisualC Joystick: Add new GIP driver to replace old Xbox One wired driver 2025-05-01 11:04:33 -07:00
VisualC-GDK Joystick: Add new GIP driver to replace old Xbox One wired driver 2025-05-01 11:04:33 -07:00
wayland-protocols wayland: Add xdg_toplevel v7 edge constraint support 2025-04-13 11:10:49 -04:00
Xcode Joystick: Add new GIP driver to replace old Xbox One wired driver 2025-05-01 11:04:33 -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 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 [SDL3] Adding input and FFB support for Logitech G29(PS3) on hidapi (#11598) 2025-03-17 07:24:39 -07:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt Always enable D3D12 GPU on Windows 2025-04-29 08:51:26 -07: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 SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 2025-03-05 09:07:05 -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)