summaryrefslogtreecommitdiffstats
path: root/kde/patch/plasma-framework/plasma-framework_KDEBUG_357895.patch
blob: 9480314b8bb9e7a068508f0481305873b28d4f9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: David Rosca <nowrep@gmail.com>
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;
     }