enable wayland opaque region
This commit is contained in:
parent
bd7f758ac9
commit
3925ff5634
1 changed files with 4 additions and 0 deletions
|
@ -1285,6 +1285,10 @@ QRegion WindowPixmap::shape() const
|
|||
|
||||
QRegion WindowPixmap::opaque() const
|
||||
{
|
||||
if (surface()) {
|
||||
return surface()->opaque();
|
||||
}
|
||||
|
||||
return toplevel()->opaqueRegion().translated(toplevel()->clientPos());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue