Remove no longer needed casts to Client regarding transients
Restores to functionality before refactoring.
This commit is contained in:
parent
0003008668
commit
69be73d382
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue