Window.isSuspended

bool isSuspended()

Retrieves the current suspended state of window.

A window being suspended means it's currently not visible to the user, for example by being on a inactive workspace, minimized, obstructed.

Returns

whether the window is suspended.