Skip to main content

blocked_reason

Function blocked_reason 

Source
pub fn blocked_reason(
    app: &str,
    title: &str,
    added: &[String],
    allowed: &[String],
) -> Option<String>
Expand description

Why app (an executable name) with window title must not be driven, or None. added extends the defaults; allowed takes names off them. An entry matches the app’s name exactly, or any part of the window title.