[wayland] Call pixmapDiscarded when ShellClient's size changes
This commit is contained in:
parent
20286fa671
commit
9954f1167f
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ ShellClient::ShellClient(ShellSurfaceInterface *surface)
|
||||||
[this] {
|
[this] {
|
||||||
m_clientSize = m_shellSurface->surface()->buffer()->size();
|
m_clientSize = m_shellSurface->surface()->buffer()->size();
|
||||||
setGeometry(QRect(geom.topLeft(), m_clientSize));
|
setGeometry(QRect(geom.topLeft(), m_clientSize));
|
||||||
|
discardWindowPixmap();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
connect(surface, &ShellSurfaceInterface::destroyed, this, &ShellClient::destroyClient);
|
connect(surface, &ShellSurfaceInterface::destroyed, this, &ShellClient::destroyClient);
|
||||||
|
|
Loading…
Reference in a new issue