phosphor-context-resolver
Frozen-snapshot gate over the mode, desktop, and activity cascade.
Names one primitive for a cascade every gating site used to inline: read the screen's mode, the current virtual desktop, and the current activity, then ask whether that tuple is disabled or locked. ContextHandle freezes (screenId, virtualDesktop, activity, mode) at construction so downstream gates answer against one consistent tuple. It is read-only, with no Gui, QML, or D-Bus dependency, and preserves the historical monitor-over-desktop-over-activity policy.
Key types
ContextHandle(screenId, virtualDesktop, activity, mode) snapshot passed to every gate call.IContextResolverhandleFor(), disabledReason(), isLocked(), isGated().ContextResolverDisabledReasonDependencies
QtCorephosphor-zones
See also
References
- Full API reference → Doxygen-generated page for
PhosphorContext. - Namespace index Every symbol under
PhosphorContext::.