forked from libsdl-org/SDL
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge SDL3 upstream #144
Merged
Merged
Merge SDL3 upstream #144
+2,801
−2,250
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Any requested swap interval will be saved and set on the first PumpEvents. Once PumpEvents has been called at least once, swap intervals are set immediately. This assumes that events won't be pumped until after an Emscripten main loop has been defined, and so prevents a warning on the javascript console: "emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up." Fixes #9969.
Reference Issue #11389.
…USE_RELATIVE_SPEED_SCALE
[ci skip]
[ci skip]
[ci skip]
This is large text and is already covered by the header and breadcrumb
This is just enough to delay MOUSE_LEAVE events until a drag ending outside the canvas is released, and make sure the MOUSE_UP event has the canvas's SDL_WindowID, which it wouldn't when mouse focus is was lost by this point. Fixes #10033.
This was originally intended to make sure that nativeAllowRecreateActivity() could be called from another thread safely, but the hint system is now thread-safe, so we don't need to use a callback here. Fixes #11938
…dows Adds SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY to control whether or not the menu can be accessed when the cursor is moved to the top of the screen when a window is in fullscreen spaces mode. The three values are true, false, and 'auto' (default), with auto resulting in a hidden menu if fullscreen was toggled programmatically, and the menu being accessible if fullscreen was toggled via the button on the window title bar, so the user has an easy way back out of fullscreen if the client app/game doesn't have a readily available option to toggle it.
[ci skip]
[ci skip]
[ci skip]
Reference Issue #11944.
The Visual Studio projects have been compiling this for awhile, but apparently we haven't tested this through CMake before. Toolchains without access to the latest Windows 11 SDK headers have been preprocessing out the dependency on this code, so we never noticed.
…OR value. Original patch was from @ramezgerges (thanks!). Fixes #11697.
[ci skip]
[ci skip]
Reference Issue #11847.
[ci skip]
[ci skip]
This allows the toplevel bounds to be set correctly on borderless windows.
This was never added, and we've been lucky that it's never called as libdecor doesn't check the function pointer for null before doing so.
They are now set before the initial configure.
[ci skip]
This reverts commit 21a42d2. It doesn't work like this, sorry. :)
We're fully hosted on GitHub, no need for additional explanation.
Also added platform specific README files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.