diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index 0dac713689..3f996ba104 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -157,6 +157,7 @@ bool DrmOutput::updateCursor() QPainter p; p.begin(c); p.setWorldTransform(logicalToNativeMatrix(cursor->rect(), 1, transform()).toTransform()); + p.setRenderHint(QPainter::SmoothPixmapTransform); p.drawImage(QPoint(0, 0), cursorImage); p.end(); return m_pipeline->setCursor(m_cursor->currentBuffer(), logicalToNativeMatrix(cursor->rect(), scale(), transform()).map(cursor->hotspot())); diff --git a/src/effects/screenshot/screenshot.cpp b/src/effects/screenshot/screenshot.cpp index 23e58584cf..a2e0732b9e 100644 --- a/src/effects/screenshot/screenshot.cpp +++ b/src/effects/screenshot/screenshot.cpp @@ -390,6 +390,7 @@ void ScreenShotEffect::grabPointerImage(QImage &snapshot, int xOffset, int yOffs } QPainter painter(&snapshot); + painter.setRenderHint(QPainter::SmoothPixmapTransform); painter.drawImage(effects->cursorPos() - cursor.hotSpot() - QPoint(xOffset, yOffset), cursor.image()); }