Method

PhocDesktopunmanaged_check_visibility

Declaration [src]

gboolean
phoc_desktop_unmanaged_check_visibility (
  PhocDesktop* self,
  PhocXWaylandUnmanaged* unmanaged
)

Description [src]

Checks if a unmanaged surface is currently visible. This is currently very pessimistic and only assumes that the unmanaged surface is not visible when covered by a fulls screen layer surface.

Parameters

unmanaged

Type: PhocXWaylandUnmanaged

The unmanaged surface to check.

The data is owned by the caller of the method.

Return value

Type: gboolean

FALSE when it’s certain that the unmanaged is not visible, otherwise TRUE.