reset desktop property on withdraw
svn path=/trunk/kdebase/kwin/; revision=57550
This commit is contained in:
parent
808863d8cf
commit
d7472a2387
2 changed files with 3 additions and 2 deletions
|
@ -798,7 +798,8 @@ void Client::withdraw()
|
||||||
{
|
{
|
||||||
Events::raise( isTransient() ? Events::TransDelete : Events::Delete );
|
Events::raise( isTransient() ? Events::TransDelete : Events::Delete );
|
||||||
setMappingState( WithdrawnState );
|
setMappingState( WithdrawnState );
|
||||||
//### KWM::moveToDesktop( win, -1 ); // compatibility
|
info->setDesktop( 0 );
|
||||||
|
desk = 0;
|
||||||
releaseWindow();
|
releaseWindow();
|
||||||
workspace()->destroyClient( this );
|
workspace()->destroyClient( this );
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ void Events::raise( Event e )
|
||||||
static bool forgetIt = FALSE;
|
static bool forgetIt = FALSE;
|
||||||
if ( forgetIt )
|
if ( forgetIt )
|
||||||
return; // no connection was possible, don't try each time
|
return; // no connection was possible, don't try each time
|
||||||
|
|
||||||
QString event;
|
QString event;
|
||||||
switch ( e ) {
|
switch ( e ) {
|
||||||
case Close:
|
case Close:
|
||||||
|
|
Loading…
Reference in a new issue