Remove no longer needed casts to Client regarding transients

Restores to functionality before refactoring.
icc-effect-5.14.5
Martin Gräßlin 2015-09-14 11:28:10 +02:00
parent 0003008668
commit 69be73d382
1 changed files with 1 additions and 2 deletions

View File

@ -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();