diff --git a/src/plugins/platforms/drm/egl_gbm_backend.cpp b/src/plugins/platforms/drm/egl_gbm_backend.cpp index ed6971bcea..776967c9a8 100644 --- a/src/plugins/platforms/drm/egl_gbm_backend.cpp +++ b/src/plugins/platforms/drm/egl_gbm_backend.cpp @@ -719,7 +719,7 @@ QSharedPointer EglGbmBackend::textureForOutput(AbstractOutput *output bool EglGbmBackend::directScanoutAllowed(AbstractOutput *output) const { - return !m_backend->usesSoftwareCursor() && output->directScanoutInhibited(); + return !m_backend->usesSoftwareCursor() && !output->directScanoutInhibited(); } bool EglGbmBackend::hasOutput(AbstractOutput *output) const