From: David Rosca Date: Mon, 15 Feb 2016 18:05:26 +0000 Subject: WindowThumbnail: Discard glx pixmap in stopRedirecting() X-Git-Url: http://quickgit.kde.org/?p=plasma-framework.git&a=commitdiff&h=1e196fdfb2a6eaf1664e1155c086616d55c6712b --- WindowThumbnail: Discard glx pixmap in stopRedirecting() BUG: 357895 FIXED-IN: 5.20 REVIEW: 127072 --- --- a/src/declarativeimports/core/windowthumbnail.cpp +++ b/src/declarativeimports/core/windowthumbnail.cpp @@ -584,6 +584,7 @@ return; } xcb_composite_unredirect_window(c, m_winId, XCB_COMPOSITE_REDIRECT_AUTOMATIC); + discardPixmap(); if (m_damage == XCB_NONE) { return; }