Changeset View
Changeset View
Standalone View
Standalone View
deleted.cpp
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Line(s) | 110 | if (AbstractClient *client = dynamic_cast<AbstractClient*>(c)) { | |||
---|---|---|---|---|---|
132 | m_fullscreen = client->isFullScreen(); | 132 | m_fullscreen = client->isFullScreen(); | ||
133 | m_wasCurrentTab = client->isCurrentTab(); | 133 | m_wasCurrentTab = client->isCurrentTab(); | ||
134 | m_keepAbove = client->keepAbove(); | 134 | m_keepAbove = client->keepAbove(); | ||
135 | m_keepBelow = client->keepBelow(); | 135 | m_keepBelow = client->keepBelow(); | ||
136 | m_caption = client->caption(); | 136 | m_caption = client->caption(); | ||
137 | 137 | | |||
138 | m_wasActive = client->isActive(); | 138 | m_wasActive = client->isActive(); | ||
139 | 139 | | |||
140 | const auto *x11Client = qobject_cast<Client *>(client); | 140 | m_wasGroupTransient = client->groupTransient(); | ||
141 | m_wasGroupTransient = x11Client && x11Client->groupTransient(); | | |||
142 | } | 141 | } | ||
143 | 142 | | |||
144 | for (auto vd : m_desktops) { | 143 | for (auto vd : m_desktops) { | ||
145 | connect(vd, &QObject::destroyed, this, [=] { | 144 | connect(vd, &QObject::destroyed, this, [=] { | ||
146 | m_desktops.removeOne(vd); | 145 | m_desktops.removeOne(vd); | ||
147 | }); | 146 | }); | ||
148 | } | 147 | } | ||
149 | 148 | | |||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |