From bd12134f0599de7d899cf0c73bc6a25117b49624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 30 Mar 2011 20:29:54 +0200 Subject: [PATCH] Deep copy the shadow pixmaps At least with NVIDIA drivers we get bad alloc errors in glXCreatePixmap for the shared pixmaps. --- shadow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shadow.cpp b/shadow.cpp index 9d35d41a06..0dba4e8650 100644 --- a/shadow.cpp +++ b/shadow.cpp @@ -83,7 +83,8 @@ QVector< long > Shadow::readX11ShadowProperty(WId id) void Shadow::init(const QVector< long > &data) { for (int i=0; i