From 2ea6fc2abefd810915c38daee95fe31205ca741b Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 5 Mar 2019 22:59:44 +0100 Subject: [PATCH] [effects/screenshot] Set m_windowMode in screenshotWindowUnderCursor BUG: 374864 FIXED-IN: 5.15.3 Differential Revision: https://phabricator.kde.org/D19552 --- effects/screenshot/screenshot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/effects/screenshot/screenshot.cpp b/effects/screenshot/screenshot.cpp index 3139bd85dc..f0237797ce 100644 --- a/effects/screenshot/screenshot.cpp +++ b/effects/screenshot/screenshot.cpp @@ -316,6 +316,7 @@ void ScreenShotEffect::screenshotWindowUnderCursor(int mask) m_scheduledScreenshot = 0; } if (m_scheduledScreenshot) { + m_windowMode = WindowMode::Xpixmap; m_scheduledScreenshot->addRepaintFull(); } }