Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorRules::Tag Namespace Reference

Variables

constexpr QLatin1StringView Effect {"effect"}
 Actions consumed by the KWin effect's rule set (shader manager + border appearance + window stacking layer).
constexpr QLatin1StringView EffectVerdict {"effectVerdict"}
 Effect-consumed one-shot verdicts that are NOT appearance overrides and must not be cancelled by ExcludeAnimations.
constexpr QLatin1StringView Border {"border"}
constexpr QLatin1StringView Animation {"animation"}
constexpr QLatin1StringView LayoutEngine {"layoutEngine"}
constexpr QLatin1StringView Gap {"gap"}
constexpr QLatin1StringView Overlay {"overlay"}
 Context-domain overlay-property overrides (overlay shader / style).

Variable Documentation

◆ Animation

QLatin1StringView PhosphorRules::Tag::Animation {"animation"}
inlineconstexpr

◆ Border

QLatin1StringView PhosphorRules::Tag::Border {"border"}
inlineconstexpr

◆ Effect

QLatin1StringView PhosphorRules::Tag::Effect {"effect"}
inlineconstexpr

Actions consumed by the KWin effect's rule set (shader manager + border appearance + window stacking layer).

ExcludeAnimations deliberately omits this tag.

This tag admits a rule into the effect's APPEARANCE rule set, whose evaluator honours ExcludeAnimations in its terminal-action scope and whose any-match gate force-animates the matched window. An effect-consumed action that is neither an appearance override nor something a user's "no animations" rule should cancel therefore belongs on EffectVerdict, not here.

◆ EffectVerdict

QLatin1StringView PhosphorRules::Tag::EffectVerdict {"effectVerdict"}
inlineconstexpr

Effect-consumed one-shot verdicts that are NOT appearance overrides and must not be cancelled by ExcludeAnimations.

The actions carrying it (OpenFullscreen, ScrollFactor) are delivered to the compositor exactly like a Effect action, but through a separate evaluator whose terminal-action scope admits only the blanket Exclude. Riding Effect would put them behind the animation evaluator, where any matching ExcludeAnimations rule breaks the walk before their slots fill — so "no animations for this window" would silently cancel the scroll multiplier and the open-fullscreen verdict — and would additionally feed the animation set's "any match force-animates" opt-in gate with a rule that says nothing about animation.

◆ Gap

QLatin1StringView PhosphorRules::Tag::Gap {"gap"}
inlineconstexpr

◆ LayoutEngine

QLatin1StringView PhosphorRules::Tag::LayoutEngine {"layoutEngine"}
inlineconstexpr

◆ Overlay

QLatin1StringView PhosphorRules::Tag::Overlay {"overlay"}
inlineconstexpr

Context-domain overlay-property overrides (overlay shader / style).

Consumed daemon-side by the overlay service via LayoutRegistry::resolveContextOverlay — NOT by the KWin effect, so these actions deliberately omit Tag::Effect.