Commit 3925ff56 authored by Gang Wu's avatar Gang Wu
Browse files

enable wayland opaque region

parent bd7f758a
......@@ -1285,6 +1285,10 @@ QRegion WindowPixmap::shape() const
QRegion WindowPixmap::opaque() const
if (surface()) {
return surface()->opaque();
return toplevel()->opaqueRegion().translated(toplevel()->clientPos());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment