From 7fe224e579baa2521c4f90d9526be14a490a72ab Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Mon, 16 Nov 2009 11:38:26 +0000 Subject: [PATCH] Don't change the client group visible status of a window if it is being deleted. Hopefully fixes a crash in Client::exportMappingState(). svn path=/trunk/KDE/kdebase/workspace/; revision=1050010 --- client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.cpp b/client.cpp index 3fa930b664..379c0cc373 100644 --- a/client.cpp +++ b/client.cpp @@ -1645,6 +1645,8 @@ void Client::dontMoveResize() void Client::setClientShown( bool shown ) { + if( deleting ) + return; // Don't change shown status if this client is being deleted if( !shown ) { unmap( Allowed );