In your compositor/renderer you should be calling "mir::graphics::Renderable::shaped()", which tells you when it is something other than an opaque rectangle.
In your compositor/renderer you should be calling "mir::graphics: :Renderable: :shaped( )", which tells you when it is something other than an opaque rectangle.