From 3b514027926ced8b70c4a6fb384e354711429f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 20 Jul 2004 14:35:33 +0000 Subject: [PATCH] Don't try to remember settings for a window that's not yet fully setup. svn path=/trunk/kdebase/kwin/; revision=331189 --- manage.cpp | 1 + rules.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manage.cpp b/manage.cpp index 476f92d4e9..8063147aa1 100644 --- a/manage.cpp +++ b/manage.cpp @@ -495,6 +495,7 @@ bool Client::manage( Window w, bool isMapped ) ungrabXServer(); client_rules.discardTemporary(); + updateWindowRules(); // was blocked while !isManaged() return true; } diff --git a/rules.cpp b/rules.cpp index 8f942e9bec..e5c189b287 100644 --- a/rules.cpp +++ b/rules.cpp @@ -634,6 +634,8 @@ void Client::setupWindowRules( bool ignore_temporary ) void Client::updateWindowRules() { + if( !isManaged()) // not fully setup yet + return; client_rules.update( this ); }