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:
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(); ungrabXServer();
client_rules.discardTemporary(); client_rules.discardTemporary();
updateWindowRules(); // was blocked while !isManaged()
return true; return true;
} }

View file

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