Skip to main content

macos_session

Function macos_session 

Source
fn macos_session(seconds: f64, locked: bool) -> Session
Expand description

The session as macOS says it: the seconds since its last input (CGEventSourceSecondsSinceLastEventType; none from a value that is no time), and whether its screen is locked.