[x11] Create egl scene textures with right size
Or client-side decorated clients will be rendered incorrectly.
This commit is contained in:
parent
ec602e0c2a
commit
96774e79e7
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ bool EglTexture::loadTexture(WindowPixmap *pixmap)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// did not succeed, try on X11
|
// 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)
|
bool EglTexture::loadTexture(xcb_pixmap_t pix, const QSize &size)
|
||||||
|
|
Loading…
Reference in a new issue