x11: Initialize opacity when starting to track Unmanaged
This is a minor regression that was introduced with the refactoring of Toplevel::opacity(). Previously, neither X11Client nor Unmanaged had to explicitly initialize the opacity because it was queried from the net info object in Toplevel::opacity(). With the refactored version, X11-specific opacity code was removed from the Toplevel class. When starting to manage a window, the opacity must be explicitly initialized. BUG: 432744
This commit is contained in:
parent
5f7a2806f0
commit
d9ec482257
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ bool Unmanaged::track(xcb_window_t w)
|
|||
NET::WM2WindowRole |
|
||||
NET::WM2WindowClass |
|
||||
NET::WM2OpaqueRegion);
|
||||
setOpacity(info->opacityF());
|
||||
getResourceClass();
|
||||
getWmClientLeader();
|
||||
getWmClientMachine();
|
||||
|
|
Loading…
Reference in a new issue