WindowThumbnail: Discard glx pixmap in stopRedirecting()

BUG: 357895
FIXED-IN: 5.20
REVIEW: 127072
This commit is contained in:
David Rosca 2016-02-15 19:05:26 +01:00
parent 42e5ffe5ee
commit 1e196fdfb2

View File

@ -584,6 +584,7 @@ void WindowThumbnail::stopRedirecting()
return;
}
xcb_composite_unredirect_window(c, m_winId, XCB_COMPOSITE_REDIRECT_AUTOMATIC);
discardPixmap();
if (m_damage == XCB_NONE) {
return;
}