From 3135f56576796c8f0f10f68a89665d00ff5e0243 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Mon, 20 Dec 2021 13:42:47 +0100 Subject: [PATCH] backends/drm: don't reset damage with direct scanout --- src/backends/drm/egl_gbm_backend.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backends/drm/egl_gbm_backend.cpp b/src/backends/drm/egl_gbm_backend.cpp index 5ee60fea0a..948609226d 100644 --- a/src/backends/drm/egl_gbm_backend.cpp +++ b/src/backends/drm/egl_gbm_backend.cpp @@ -708,7 +708,6 @@ bool EglGbmBackend::scanout(AbstractOutput *drmOutput, SurfaceItem *surfaceItem) // ensure that a context is current like with normal presentation makeCurrent(); if (output.output->present(bo, damage)) { - output.current.damageJournal.clear(); if (output.scanoutSurface != surface) { auto path = surface->client()->executablePath(); qCDebug(KWIN_DRM).nospace() << "Direct scanout starting on output " << output.output->name() << " for application \"" << path << "\"";