diff --git a/src/effects/screenshot/screenshot.cpp b/src/effects/screenshot/screenshot.cpp index 70cf2f74ee..c07502c388 100644 --- a/src/effects/screenshot/screenshot.cpp +++ b/src/effects/screenshot/screenshot.cpp @@ -378,6 +378,10 @@ QImage ScreenShotEffect::blitScreenshot(const QRect &geometry, qreal devicePixel void ScreenShotEffect::grabPointerImage(QImage &snapshot, int xOffset, int yOffset) const { + if (effects->isCursorHidden()) { + return; + } + const PlatformCursorImage cursor = effects->cursorImage(); if (cursor.image().isNull()) { return;