Remove no longer needed casts to Client regarding transients
Restores to functionality before refactoring.icc-effect-5.14.5
parent
0003008668
commit
69be73d382
|
@ -598,8 +598,7 @@ void Client::setTransient(xcb_window_t new_transient_for_id)
|
|||
void Client::removeFromMainClients()
|
||||
{
|
||||
TRANSIENCY_CHECK(this);
|
||||
if (Client *t = dynamic_cast<Client*>(transientFor()))
|
||||
t->removeTransient(this);
|
||||
transientFor()->removeTransient(this);
|
||||
if (groupTransient()) {
|
||||
for (ClientList::ConstIterator it = group()->members().constBegin();
|
||||
it != group()->members().constEnd();
|
||||
|
|
Loading…
Reference in New Issue