mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-25 18:21:06 +01:00
On Wayland -- or at least on some Wayland implementations -- windows aren't shown until something has been rendered into them. For the 'testmessage' test program, this means that the final messagebox (a modal one) is blocking an "invisible window", which can then be difficult to close. By creating a renderer and presenting once, the window is properly displayed, and the test behaves as it does under X11 (including XWayland).
6.6 KiB
6.6 KiB