[effects/screenshot] Set m_windowMode in screenshotWindowUnderCursor

BUG: 374864
FIXED-IN: 5.15.3

Differential Revision: https://phabricator.kde.org/D19552
This commit is contained in:
Kai Uwe Broulik 2019-03-05 22:59:44 +01:00
parent efbc95fb81
commit 2ea6fc2abe

View file

@ -316,6 +316,7 @@ void ScreenShotEffect::screenshotWindowUnderCursor(int mask)
m_scheduledScreenshot = 0;
}
if (m_scheduledScreenshot) {
m_windowMode = WindowMode::Xpixmap;
m_scheduledScreenshot->addRepaintFull();
}
}