Simple DirectMedia Layer https://libsdl.org
Find a file
Sam Lantinga 44f66b5c8b Show the cursor when relative mode is enabled and the app doesn't have focus
Testing:
* Run test/testwm
* Hit Ctrl-R to toggle relative mode
* Alt-tab away
* Move the mouse over testwm
* Note that the cursor is visible until testwm gains focus
2024-06-10 14:57:32 -07:00
.github cmake: remove SDL_STATIC_PIC cmake option. 2024-06-10 18:04:18 +02:00
android-project Update proguard-rules.pro for recent haptic changes 2024-06-05 14:54:42 -07:00
build-scripts android: android release binary should only contain a shared SDL3 library 2024-06-10 18:04:18 +02:00
cmake cmake: remove SDL_STATIC_PIC cmake option. 2024-06-10 18:04:18 +02:00
docs android: android release binary should only contain a shared SDL3 library 2024-06-10 18:04:18 +02:00
include Keep track of whether a controller was a gamepad 2024-06-09 17:45:20 -07:00
mingw/pkg-support mingw: add pkg-support files (INSTALL.txt and Makefile) 2024-03-23 21:41:20 +01:00
src Show the cursor when relative mode is enabled and the app doesn't have focus 2024-06-10 14:57:32 -07:00
test SDL takes care of handling mouse relative mode on focus change 2024-06-10 14:57:32 -07: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
wayland-protocols wayland: Implement SetWindowOpacity via the alpha modifier protocol 2024-05-26 14:17:05 -04:00
Xcode Added testcamera to Xcode test apps 2024-06-04 10:43:45 -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 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 Filter Android drivers according to SDL_***_DISABLED macros to help reduce APK size (#9986) 2024-06-08 08:55:15 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt cmake: remove SDL_STATIC_PIC cmake option. 2024-06-10 18:04:18 +02: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

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)