fix yet another fun-with-pointers tabbing segfault
BUG: 281596 (cherry picked from commit f3ca7234ef4329b45bcd369aa49a70972a754302)
This commit is contained in:
parent
6cd271598e
commit
c071056913
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ bool Client::manage(Window w, bool isMapped)
|
|||
if (!noBorder()) {
|
||||
client_group = NULL;
|
||||
// Automatically add to previous groups on session restore
|
||||
if (session && session->clientGroupClient && session->clientGroupClient != this)
|
||||
if (session && session->clientGroupClient && session->clientGroupClient != this && session->clientGroupClient->clientGroup())
|
||||
session->clientGroupClient->clientGroup()->add(this, -1, true);
|
||||
else if (isMapped)
|
||||
// If the window is already mapped (Restarted KWin) add any windows that already have the
|
||||
|
|
Loading…
Reference in a new issue