diff --git a/src/plugins/screencast/regionscreencastsource.cpp b/src/plugins/screencast/regionscreencastsource.cpp index e5f067b116..d0afb6445e 100644 --- a/src/plugins/screencast/regionscreencastsource.cpp +++ b/src/plugins/screencast/regionscreencastsource.cpp @@ -74,7 +74,7 @@ void RegionScreenCastSource::update(Output *output, const QRegion &damage) { blit(output); - const QRegion effectiveDamage = (output->pixelSize() != output->modeSize() ? output->geometry() : damage) + const QRegion effectiveDamage = damage .translated(-m_region.topLeft()) .intersected(m_region); const QRegion nativeDamage = scaleRegion(effectiveDamage, m_scale);