On Wed Mar 12 13:20:37 2025 +0000, Rémi Bernon wrote:
I'm not really sure we want to rely on backend specific window opacity mechanisms for this kind of thing, as the idea was instead to move toward having Wine-managed surfaces that would just be composited together, although the changes here are probably simple enough to be acceptable until we have something better. However, this removes the existing window-wide transparency that is currently stored in the window surface pixel alpha, to replace it with backend-specific window opacity but it only does it for the X11 backend. This needs to be implemented with other backends too if we go that way.
As explained in the patch description same method is already used by SetLayeredWindowAttributes(), so if there's a problem with this approach it already exists, besides this fixes a real bug.