Many applications request and use GL configs with alpha, but assume that the windowing system will present their surfaces opaquely. Wayland compositors normally respect the alpha channel, which leads to unwanted translucency effects for such applications, so we use the EGL_EXT_present_opaque extension to avoid this.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57800
--
Note that this has been a known issue since the initial GL support in winewayland (see description of https://gitlab.winehq.org/wine/wine/-/merge_requests/5264). At that point I didn't enable the opaque attribute because there was a bug in Mesa that could cause a crash for some 16bpp formats. I fixed the bug in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28153, and the fix got released in 24.2.0 (Aug 2024). This Mesa version (or newer) is now either part of the latest version of most major distributions or available through official updates/backports (from what I see OpenSUSE Leap is a notable exception), so I now feel more comfortable enabling the attribute by default. Some users using older Mesa versions may be affected, but I think most people trying out the latest Wine 10.x will already be (or can move to) to newer Mesa versions anyway.