Don't try to remember settings for a window that's not yet fully setup.

svn path=/trunk/kdebase/kwin/; revision=331189
icc-effect-5.14.5
Luboš Luňák 2004-07-20 14:35:33 +00:00
parent 682a6aa28f
commit 3b51402792
2 changed files with 3 additions and 0 deletions

View File

@ -495,6 +495,7 @@ bool Client::manage( Window w, bool isMapped )
ungrabXServer();
client_rules.discardTemporary();
updateWindowRules(); // was blocked while !isManaged()
return true;
}

View File

@ -634,6 +634,8 @@ void Client::setupWindowRules( bool ignore_temporary )
void Client::updateWindowRules()
{
if( !isManaged()) // not fully setup yet
return;
client_rules.update( this );
}