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; }