pub fn should_hide_on_blur(
blur_dismiss_enabled: bool,
hide_on_blur_pref: bool,
) -> boolExpand description
Decide whether a focus-lost event should hide the window: both the
runtime gate (blur_dismiss_enabled, from BlurDismissState::enabled)
and the user’s persisted preference (hide_on_blur_pref, product-owned
settings) must allow it.