Wayland: Fix an edge case bug with a tiny menu in fullscreen#18767
Merged
LibretroAdmin merged 1 commit intolibretro:masterfrom Feb 25, 2026
Merged
Wayland: Fix an edge case bug with a tiny menu in fullscreen#18767LibretroAdmin merged 1 commit intolibretro:masterfrom
LibretroAdmin merged 1 commit intolibretro:masterfrom
Conversation
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.
This fixes #18746.
The previous Wayland fullscreen fix (#18717) was working for most users, and on many compositors, desktop environments, and all of the 11 distros that were tested. However, it caused fullscreen to stop working correctly in this one case, where it made a tiny menu appear when in fullscreen that is only 240x256 in size. It might be related to AMD GPU's.
This change wont affect the previous fullscreen fix. Fullscreen should now work for everyone (hopefully!).
Changes:
SPLASH_WINDOW(240x256), if it does, then fall back to the previous fullscreen behaviour from before PR 18717 (maybe not an ideal fix but i can't reproduce the issue on any distro/compositor. This is simple and it works).//(not C89).