Copy shape region to Deleted
Currently, the shape region is not copied to the Deleted. If either SurfaceItemX11 or SurfaceItemXwayland needs to build quads for a shaped window, it won't be able to do so properly because the corresponding x11 window is long time gone. If the shape region changes before the window is unmapped, you may still see visual artifacts. Unfortunately, the only way to fix that bug is to switch to wayland. BUG: 440001 BUG: 438458 BUG: 435378
This commit is contained in:
parent
d47b27f9cd
commit
e94fbcd853
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ void Toplevel::copyToDeleted(Toplevel* c)
|
|||
m_internalFBO = c->m_internalFBO;
|
||||
m_internalImage = c->m_internalImage;
|
||||
m_opacity = c->m_opacity;
|
||||
m_shapeRegionIsValid = c->m_shapeRegionIsValid;
|
||||
m_shapeRegion = c->m_shapeRegion;
|
||||
}
|
||||
|
||||
// before being deleted, remove references to everything that's now
|
||||
|
|
Loading…
Reference in a new issue