kernl API
    Preparing search index...

    Interface WindowVisibility

    Window visibility as the shell observes it. Never self-reported by the applet.

    interface WindowVisibility {
        focused: boolean;
        msSinceFocusGain?: number;
        visible: boolean;
    }
    Index
    focused: boolean

    The applet's window holds keyboard focus. Implies visible.

    msSinceFocusGain?: number

    Milliseconds since the window last gained focus, when known.

    visible: boolean

    The applet's window is rendered on screen (not minimised, workspace active).