diff --git a/src/plugins/platforms/drm/egl_gbm_backend.cpp b/src/plugins/platforms/drm/egl_gbm_backend.cpp index 238dbdbd8f..d07974aa07 100644 --- a/src/plugins/platforms/drm/egl_gbm_backend.cpp +++ b/src/plugins/platforms/drm/egl_gbm_backend.cpp @@ -698,8 +698,7 @@ bool EglGbmBackend::scanout(int screenId, KWaylandServer::SurfaceInterface *surf } auto buffer = surface->buffer(); Output output = m_outputs[screenId]; - if (buffer->linuxDmabufBuffer()->size() != output.output->modeSize() - && output.output->isBeingRecorded()) { + if (buffer->linuxDmabufBuffer()->size() != output.output->modeSize()) { return false; } EglDmabufBuffer *dmabuf = static_cast(buffer->linuxDmabufBuffer());