Skip to main content

float_default

Function float_default 

Source
pub(crate) fn float_default(
    on: bool,
    asked: Option<bool>,
    split: bool,
    open: usize,
) -> bool
Expand description

Whether a browser open floats by the setting: it is on, the open said nothing about floating (an explicit floating: false keeps the browser docked) and named no split, and the agent has room under its cap of four. A default never refuses an open: at the cap the browser opens docked, as it would with the setting off.