Commit d9ec4822 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Aleix Pol Gonzalez
Browse files

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
parent 5f7a2806
......@@ -68,6 +68,7 @@ bool Unmanaged::track(xcb_window_t w)
NET::WM2WindowRole |
NET::WM2WindowClass |
NET::WM2OpaqueRegion);
setOpacity(info->opacityF());
getResourceClass();
getWmClientLeader();
getWmClientMachine();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment