check for requested opengl graphicssystem rather than raster twice ;-)
This commit is contained in:
parent
2fb8fb1c21
commit
06ab909eb2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue