From 96774e79e7931d1fe6db8bc2c615d61fef366ad3 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 17 Jun 2020 17:52:17 +0300 Subject: [PATCH] [x11] Create egl scene textures with right size Or client-side decorated clients will be rendered incorrectly. --- plugins/platforms/x11/common/eglonxbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/x11/common/eglonxbackend.cpp b/plugins/platforms/x11/common/eglonxbackend.cpp index 0bb109d382..6eddd6fe63 100644 --- a/plugins/platforms/x11/common/eglonxbackend.cpp +++ b/plugins/platforms/x11/common/eglonxbackend.cpp @@ -492,7 +492,7 @@ bool EglTexture::loadTexture(WindowPixmap *pixmap) return true; } // did not succeed, try on X11 - return loadTexture(pixmap->pixmap(), pixmap->toplevel()->size()); + return loadTexture(pixmap->pixmap(), pixmap->toplevel()->bufferGeometry().size()); } bool EglTexture::loadTexture(xcb_pixmap_t pix, const QSize &size)