From 06ab909eb24bf0d5c3758e549393c25050cceb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 29 Mar 2012 16:23:06 +0200 Subject: [PATCH] check for requested opengl graphicssystem rather than raster twice ;-) --- workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index c6819630a2..bae96c2658 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1015,7 +1015,7 @@ void Workspace::slotReinitCompositing() KGlobal::config()->reparseConfiguration(); const QString graphicsSystem = KConfigGroup(KSharedConfig::openConfig("kwinrc"), "Compositing").readEntry("GraphicsSystem", ""); if ((Extensions::nonNativePixmaps() && graphicsSystem == "native") || - (!Extensions::nonNativePixmaps() && (graphicsSystem == "raster" || graphicsSystem == "raster")) ) { + (!Extensions::nonNativePixmaps() && (graphicsSystem == "raster" || graphicsSystem == "opengl")) ) { restartKWin("explicitly reconfigured graphicsSystem change"); return; }