Skip to content

Wayland: Fix an edge case bug with a tiny menu in fullscreen#18767

Merged
LibretroAdmin merged 1 commit intolibretro:masterfrom
PoloniumRain:fix-wayland-fullscreen-bug
Feb 25, 2026
Merged

Wayland: Fix an edge case bug with a tiny menu in fullscreen#18767
LibretroAdmin merged 1 commit intolibretro:masterfrom
PoloniumRain:fix-wayland-fullscreen-bug

Conversation

@PoloniumRain
Copy link
Contributor

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:

  • Check If the fullscreen menu appears the same size as the 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).
  • Corrected an existing code comment that began with // (not C89).

@LibretroAdmin LibretroAdmin merged commit 2907aa9 into libretro:master Feb 25, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fullscreen on Wayland longer working on git master

2 participants