[x11] Create egl scene textures with right size

Or client-side decorated clients will be rendered incorrectly.
This commit is contained in:
Vlad Zahorodnii 2020-06-17 17:52:17 +03:00
parent ec602e0c2a
commit 96774e79e7

View file

@ -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)