From 6ade1f3ca5a4f1647bda862378e250b63702535d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 21 Jan 2013 08:45:33 +0100 Subject: [PATCH] Do not update screen edges when compositing settings changes The comment says it all: update all settings which can be done through the compositing KCM. Years ago screen edges was in the composite KCM, but it no longer is. So there is no need to update the edges when the compositing settings changes. --- composite.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/composite.cpp b/composite.cpp index c27b37f21e..36a424823c 100644 --- a/composite.cpp +++ b/composite.cpp @@ -361,10 +361,6 @@ void Compositor::slotReinitialize() return; } - // Update any settings that can be set in the compositing kcm. -#ifdef KWIN_BUILD_SCREENEDGES - Workspace::self()->screenEdge()->update(); -#endif // Restart compositing finish(); // resume compositing if suspended