diff --git a/client.cpp b/client.cpp index 07ea81ff61..544d32c618 100644 --- a/client.cpp +++ b/client.cpp @@ -540,6 +540,7 @@ bool Client::unmapNotify( XUnmapEvent& e ) void Client::withdraw() { setMappingState( WithdrawnState ); + KWM::moveToDesktop( win, -1 ); // compatibility releaseWindow(); workspace()->destroyClient( this ); } diff --git a/workspace.cpp b/workspace.cpp index e1379361c5..47e1f9e1af 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -413,7 +413,6 @@ bool Workspace::destroyClient( Client* c) { if ( !c ) return FALSE; - qDebug("Workspace:.destroyClient"); clients.remove( c ); stacking_order.remove( c ); focus_chain.remove( c );