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

The window-appearance "Apply to" scope tokens — the single source of truth shared by the config store (ConfigDefaults / the schema validator), the settings page (WindowAppearanceController → QML), and the effect's scope predicate. More...

Variables

constexpr QLatin1StringView Tiled {"tiled"}
 
constexpr QLatin1StringView Normal {"normal"}
 
constexpr QLatin1StringView All {"all"}
 

Detailed Description

The window-appearance "Apply to" scope tokens — the single source of truth shared by the config store (ConfigDefaults / the schema validator), the settings page (WindowAppearanceController → QML), and the effect's scope predicate.

A config-default border / hidden title bar applies to a window only when it matches the chosen scope:

  • Tiled: the window is snapped into a zone OR autotile-managed.
  • Normal: its window type is Normal AND it is not transient.
  • All: every window. These are on-disk / wire tokens, so they must never be localized or renamed without a migration.

Variable Documentation

◆ All

constexpr QLatin1StringView PhosphorCompositor::WindowAppearanceScope::All {"all"}
inlineconstexpr

◆ Normal

constexpr QLatin1StringView PhosphorCompositor::WindowAppearanceScope::Normal {"normal"}
inlineconstexpr

◆ Tiled

constexpr QLatin1StringView PhosphorCompositor::WindowAppearanceScope::Tiled {"tiled"}
inlineconstexpr