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
This commit is contained in:
Lucas Murray 2009-11-16 11:38:26 +00:00
parent e096c60502
commit 7fe224e579

View file

@ -1645,6 +1645,8 @@ void Client::dontMoveResize()
void Client::setClientShown( bool shown ) void Client::setClientShown( bool shown )
{ {
if( deleting )
return; // Don't change shown status if this client is being deleted
if( !shown ) if( !shown )
{ {
unmap( Allowed ); unmap( Allowed );