From 1e196fdfb2a6eaf1664e1155c086616d55c6712b Mon Sep 17 00:00:00 2001 From: David Rosca Date: Mon, 15 Feb 2016 19:05:26 +0100 Subject: [PATCH 07/25] WindowThumbnail: Discard glx pixmap in stopRedirecting() BUG: 357895 FIXED-IN: 5.20 REVIEW: 127072 --- src/declarativeimports/core/windowthumbnail.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/core/windowthumbnail.cpp b/src/declarativeimports/core/windowthumbnail.cpp index 21e655e..b838053 100644 --- a/src/declarativeimports/core/windowthumbnail.cpp +++ b/src/declarativeimports/core/windowthumbnail.cpp @@ -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; } -- 2.5.0