Repository navigation
Prevent Windows borderless mode from taking exclusive fullscreen - #347
Merged
cybersecurity merged 1 commit intoOct 19, 2026
Conversation
NVIDIA's OpenGL driver can treat SDL's popup fullscreen window as exclusive even when no display mode is selected, blanking the monitor on Alt+Tab. Clear popup and topmost styles for borderless windows before context creation and presentation, including after SDL restores them. Explicit fullscreen keeps its existing behavior. Checked: Windows release build; hidden native window probe covering styles, bounds, focus, repeated application and mode isolation; git diff --check. Live Alt+Tab was not tested. Android and web targets were unavailable; pytest was not installed.
johncranston303
force-pushed
the
fix/windows-borderless-alt-tab
branch
from
October 15, 2026 00:33
92511ab to
27977a8
Compare
|
I personally was shown the difference via a live stream and believe this to be a needed quality of life improvement for Windows clients, however I was not able to pull in the code myself and test as I do not have a Windows machine to test with. I recommend cherry picking and testing. Steps:
|
GuvenHuso
self-requested a review
October 17, 2026 22:56
GuvenHuso
approved these changes
Oct 17, 2026
GuvenHuso
approved these changes
Oct 17, 2026
FractumSeraph
pushed a commit
to FractumSeraph/OpenCE
that referenced
this pull request
Oct 20, 2026
…port Map facts in the Delta Stats batch
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.
Borderless mode can blank the monitor on Alt+Tab because NVIDIA's OpenGL driver treats SDL's popup fullscreen window as exclusive, even without a selected display mode.
Clear the popup and topmost styles for borderless windows before OpenGL context creation and presentation. Reapply this when SDL restores those styles after mode or focus changes. Explicit fullscreen retains its existing behavior.
Tested and working on an NVIDIA RTX 3090.