Don't try to remember settings for a window that's not yet fully setup.
svn path=/trunk/kdebase/kwin/; revision=331189
This commit is contained in:
parent
682a6aa28f
commit
3b51402792
2 changed files with 3 additions and 0 deletions
|
@ -495,6 +495,7 @@ bool Client::manage( Window w, bool isMapped )
|
|||
ungrabXServer();
|
||||
|
||||
client_rules.discardTemporary();
|
||||
updateWindowRules(); // was blocked while !isManaged()
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -634,6 +634,8 @@ void Client::setupWindowRules( bool ignore_temporary )
|
|||
|
||||
void Client::updateWindowRules()
|
||||
{
|
||||
if( !isManaged()) // not fully setup yet
|
||||
return;
|
||||
client_rules.update( this );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue