Skip to main content

System

Type Alias System 

Source
type System = Desktop<Session>;

Aliased Type§

struct System {
    pub(super) desk: Session,
    pub(super) held: Vec<(Which, Box<dyn Held>, Instant)>,
    heard: Option<(Box<dyn Heard>, Instant)>,
    quiet: Arc<Mutex<Instant>>,
    pub(super) watch: Option<Box<dyn Watching>>,
}

Fields§

§desk: Session§held: Vec<(Which, Box<dyn Held>, Instant)>

Plasma’s inhibitions held, by pause, and since when.

§heard: Option<(Box<dyn Heard>, Instant)>

dconf’s changes of GNOME’s switch while Sioul holds it, and from when they are the person’s.

§quiet: Arc<Mutex<Instant>>

Set before each change of Sioul’s own: what follows the session’s do-not-disturb waits until then, so as never to take it for the person’s.

§watch: Option<Box<dyn Watching>>

The session’s own do-not-disturb followed, while the window runs.