Hi,

Is there a way for an xdg_toplevel to know which parts of its surface are off-screen or occluded by other surfaces? i.e. similar to the 'suspended' state, but with more detailed information.

The motivation for this is to be able to improve animated popups that aren't implemented as native xdg_popups, i.e. just rendered inside the toplevel surface by the application (because xdg_popups don't like animations). For xdg_popups the compositor ensures they aren't positioned off-screen, and it would be great to be able to ensure that (to some extent, at least, as these popups can't be positioned outside the toplevel surface) for this other kind of popup as well.

Best regards
Max

Reply via email to