Remove the state flags from the window on withdraw too, and do so only
when really withdrawing the window. svn path=/trunk/kdebase/kwin/; revision=197778
This commit is contained in:
parent
70784e0433
commit
a541e25721
1 changed files with 8 additions and 3 deletions
11
client.cpp
11
client.cpp
|
@ -1184,9 +1184,14 @@ void Client::withdraw()
|
|||
Events::raise( Events::Delete );
|
||||
// remove early from client list
|
||||
workspace()->removeClient( this );
|
||||
info->setDesktop( 0 );
|
||||
desk = 0;
|
||||
is_sticky_ = false;
|
||||
if( !kapp->closingDown()) {
|
||||
// only when the window is being unmapped, not when closing down KWin
|
||||
// (NETWM sections 5.5,5.7)
|
||||
info->setDesktop( 0 );
|
||||
desk = 0;
|
||||
is_sticky_ = false;
|
||||
info->setState( 0, info->state()); // reset all state flags
|
||||
}
|
||||
releaseWindow(TRUE);
|
||||
workspace()->destroyClient( this );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue