27    : leader_client(nullptr)
 
   28    , leader_wid(leader_P)
 
   29    , leader_info(nullptr)
 
   33    if (leader_P != XCB_WINDOW_NONE) {
 
   35        leader_info = std::make_unique<NETWinInfo>(kwinApp()->x11Connection(), leader_P, kwinApp()->x11RootWindow(),
 
   36                                                   NET::Properties(), NET::WM2StartupId);
 
   38    effect_group = std::make_unique<EffectWindowGroup>(
this);
 
 
   46    if (leader_client != 
nullptr) {
 
   47        return leader_client->
icon();
 
   48    } 
else if (leader_wid != XCB_WINDOW_NONE) {
 
   50        NETWinInfo info(kwinApp()->x11Connection(), leader_wid, kwinApp()->x11RootWindow(), NET::WMIcon, NET::WM2IconPixmap);
 
   51        auto readIcon = [&ic, &info, 
this](
int size, 
bool scale = 
true) {
 
   52            const QPixmap pix = KX11Extras::icon(leader_wid, size, size, scale, KX11Extras::NETWM | KX11Extras::WMHints, &info);