reset desktop property on withdraw

svn path=/trunk/kdebase/kwin/; revision=57550
This commit is contained in:
Matthias Ettrich 2000-07-17 17:10:00 +00:00
parent 808863d8cf
commit d7472a2387
2 changed files with 3 additions and 2 deletions

View file

@ -798,7 +798,8 @@ void Client::withdraw()
{
Events::raise( isTransient() ? Events::TransDelete : Events::Delete );
setMappingState( WithdrawnState );
//### KWM::moveToDesktop( win, -1 ); // compatibility
info->setDesktop( 0 );
desk = 0;
releaseWindow();
workspace()->destroyClient( this );
}

View file

@ -11,7 +11,7 @@ void Events::raise( Event e )
static bool forgetIt = FALSE;
if ( forgetIt )
return; // no connection was possible, don't try each time
QString event;
switch ( e ) {
case Close: