Reintroduce nullptr check in Client::removeFromMainClients
Removed by accident in 69be73d3
, of course needed and causes an
unusable session due to kwin crashing when managing clients.
Sorry!
This commit is contained in:
parent
9988fa9d74
commit
a6118016ec
1 changed files with 2 additions and 1 deletions
|
@ -598,7 +598,8 @@ void Client::setTransient(xcb_window_t new_transient_for_id)
|
|||
void Client::removeFromMainClients()
|
||||
{
|
||||
TRANSIENCY_CHECK(this);
|
||||
transientFor()->removeTransient(this);
|
||||
if (transientFor())
|
||||
transientFor()->removeTransient(this);
|
||||
if (groupTransient()) {
|
||||
for (ClientList::ConstIterator it = group()->members().constBegin();
|
||||
it != group()->members().constEnd();
|
||||
|
|
Loading…
Reference in a new issue