diff --git a/client.cpp b/client.cpp index 0ed24a8bcf..7b4b44186c 100644 --- a/client.cpp +++ b/client.cpp @@ -412,9 +412,10 @@ void Client::manage( bool isMapped ) // KDE 1.x compatibility desk = KWM::desktop( win ); - KWM::moveToDesktop( win, desk ); // compatibility } + KWM::moveToDesktop( win, desk ); // KDE 1.x compatibility + setMappingState( state ); if ( state == NormalState && isOnDesktop( workspace()->currentDesktop() ) ) {