From f94533b394cd66d617741f0cb5998ad38f04f088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 31 May 2004 16:18:34 +0000 Subject: [PATCH] With kwin --replace, read config written by previous instance (with fake session data dumped there should be nothing written to kwinrc by kwin itself though). svn path=/trunk/kdebase/kwin/; revision=316458 --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 7526f3892a..0165d75327 100644 --- a/main.cpp +++ b/main.cpp @@ -99,6 +99,9 @@ Application::Application( ) ::exit(1); } connect( &owner, SIGNAL( lostOwnership()), SLOT( lostSelection())); + + // if there was already kwin running, it saved its configuration after loosing the selection -> reread + config()->reparseConfiguration(); initting = TRUE; // startup....