pub(crate) fn pause_decision(
assertion_active: bool,
window: WindowKnowledge,
) -> boolExpand description
Should breaks pause right now, given the two signals?
Locked truth table — touch with care:
(false, _)→ false (no media keeping screen awake)(true, Fullscreen(true))→ true (real fullscreen video)(true, Fullscreen(false))→ false (small-window video → DON’T pause)(true, Unknowable)→ true (Wayland fallback: assertion-only)
The Fullscreen(false) → false row is the bug fix in the parent
PR. If a contributor “simplifies” this back to assertion, the
unit test catches it before merge.