From e935c5b45734a6aa91d59842d8514e18dcdd6f93 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Mon, 25 Oct 2010 10:11:26 +0200 Subject: Fix for QTBUG-14497 - X11 error (X_CopyRect/BadMatch) when using a translucent widge in multi-screen environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge-request: 865 Reviewed-by: Samuel Rødal --- src/gui/painting/qwindowsurface_x11.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/painting/qwindowsurface_x11.cpp b/src/gui/painting/qwindowsurface_x11.cpp index cadf264..d7f54ea 100644 --- a/src/gui/painting/qwindowsurface_x11.cpp +++ b/src/gui/painting/qwindowsurface_x11.cpp @@ -149,6 +149,8 @@ void QX11WindowSurface::setGeometry(const QRect &rect) return; #ifndef QT_NO_XRENDER if (d_ptr->translucentBackground) { + QPixmap::x11SetDefaultScreen(d_ptr->widget->x11Info().screen()); + QX11PixmapData *data = new QX11PixmapData(QPixmapData::PixmapType); data->xinfo = d_ptr->widget->x11Info(); data->resize(size.width(), size.height()); -- cgit v0.12 From 4731474fbe798d9deab9ba462f9a483253704506 Mon Sep 17 00:00:00 2001 From: Arvid Ephraim Picciani Date: Mon, 25 Oct 2010 13:31:22 +0200 Subject: Update changelog --- dist/changes-4.8.0 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/changes-4.8.0 b/dist/changes-4.8.0 index f8ca4bc..c55faf6 100644 --- a/dist/changes-4.8.0 +++ b/dist/changes-4.8.0 @@ -37,6 +37,8 @@ Third party components QtCore ------ - Removed support for QT_NO_THREAD define for QHostInfo. + - Optimized plugin loading on ELF platforms. + Print failure reason at runtime with QT_DEBUG_PLUGINS=1 in environment. QtGui ----- -- cgit v0.12