
Trying to update the opacity before the window actor get assigned a surface will be ignored. As result, the initial opacity set by X11 clients using the EWMH property _NET_WM_WINDOW_OPACITY is not applied at first. To avoid the issue, make sure to set the opacity once the window actor has a surface assigned. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3513 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4170>