Merge fuse-1.8.0#40
Merged
Merged
Conversation
Create initial fullscreen windows with SDL_WINDOW_FULLSCREEN_DESKTOP instead of mapping a windowed window and switching it fullscreen afterward. Avoid scaler hotswap/recreate during SDL2 display startup, and only preserve the windowed scaler after display initialisation so exiting startup fullscreen restores the configured windowed scaler.
Avoid destroying and recreating the SDL window when changing scaler size or fullscreen state. Resize the existing window and toggle fullscreen in place to reduce visible flicker. Also avoid startup scaler hotswaps and create the initial fullscreen window hidden/fullscreen before showing it.
Keep the current scaler when it already fits the fullscreen desktop instead of choosing a larger fitting scaler. This preserves filter effects such as TV scalers when switching to fullscreen. Update SDL2 display tests for the new fullscreen scaler selection behavior
Add a small SDL2 scaler state helper so fullscreen/windowed transitions can distinguish between the user's actual scaler choice and a temporary fullscreen substitution. This keeps current_scaler truthful, restores the windowed scaler only after automatic fullscreen substitutions, and respects explicit scaler changes made while fullscreen. Same-family fallbacks are preferred, including treating Timex TV as part of the TV scaler family. Refactor the SDL2 display code to use the new state helper, add unit tests for the transition logic, and fix the SDL2 resize/fullscreen ordering when leaving fullscreen.
This fixes 'make distcheck'
Sort the keys of %xstates to ensure a deterministic output.
Tag Fuse 1.8.0
This file contains hidden or 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
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.
Fuse 1.8.0 has been released (source).