1
From f3ca7234ef4329b45bcd369aa49a70972a754302 Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebking@gmail.com>
3
Date: Thu, 8 Sep 2011 22:19:41 +0200
4
Subject: [PATCH 11/31] fix yet another fun-with-pointers tabbing segfault
9
1 files changed, 1 insertions(+), 1 deletions(-)
11
diff --git a/kwin/manage.cpp b/kwin/manage.cpp
12
index a802623..d1b400f 100644
15
@@ -316,7 +316,7 @@ bool Client::manage(Window w, bool isMapped)
18
// Automatically add to previous groups on session restore
19
- if (session && session->clientGroupClient && session->clientGroupClient != this)
20
+ if (session && session->clientGroupClient && session->clientGroupClient != this && session->clientGroupClient->clientGroup())
21
session->clientGroupClient->clientGroup()->add(this, -1, true);
23
// If the window is already mapped (Restarted KWin) add any windows that already have the