diff --git a/composite.h b/composite.h --- a/composite.h +++ b/composite.h @@ -193,7 +193,6 @@ * That is the Compositor will be stopped and started again. **/ void restart(); - void fallbackToXRenderCompositing(); void performCompositing(); void slotConfigChanged(); void releaseCompositorSelection(); diff --git a/composite.cpp b/composite.cpp --- a/composite.cpp +++ b/composite.cpp @@ -477,17 +477,6 @@ } } -// OpenGL self-check failed, fallback to XRender -void Compositor::fallbackToXRenderCompositing() -{ - finish(); - KConfigGroup config(kwinApp()->config(), "Compositing"); - config.writeEntry("Backend", "XRender"); - config.sync(); - options->setCompositingMode(XRenderCompositing); - setup(); -} - void Compositor::slotConfigChanged() { if (!m_suspended) { diff --git a/plugins/scenes/opengl/scene_opengl.cpp b/plugins/scenes/opengl/scene_opengl.cpp --- a/plugins/scenes/opengl/scene_opengl.cpp +++ b/plugins/scenes/opengl/scene_opengl.cpp @@ -510,7 +510,6 @@ qCCritical(KWIN_OPENGL) << "OpenGL driver recommends XRender based compositing. Falling back to XRender."; qCCritical(KWIN_OPENGL) << "To overwrite the detection use the environment variable KWIN_COMPOSE"; qCCritical(KWIN_OPENGL) << "For more information see http://community.kde.org/KWin/Environment_Variables#KWIN_COMPOSE"; - QTimer::singleShot(0, Compositor::self(), SLOT(fallbackToXRenderCompositing())); } delete backend; }