Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/window_surface.c:
goto done; }
- buffer_format = shape_bits ? WL_SHM_FORMAT_ARGB8888 : WL_SHM_FORMAT_XRGB8888;
- if (wws->wayland_buffer_queue->format != buffer_format)
I haven't looked into detail but this doesn't seem to work for whole window opacity (set with `SetLayeredWindowAttributes( hwnd, 0, 255 * 70 / 100, LWA_ALPHA )`) or `UpdateLayeredWindow` per-pixel alpha either.
There's maybe something to do with `window_surface->alpha_mask != 0`, which also indicates per-pixel alpha, and should probably trigger usage of ARGB, but that doesn't seem to be enough.