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

Single source of truth for window-decoration appearance defaults. More...

Variables

constexpr bool HideTitleBars = false
 
constexpr bool ShowBorder = false
 
constexpr int BorderWidth = 2
 
constexpr int BorderWidthMin = 0
 
constexpr int BorderWidthMax = 10
 
constexpr int BorderRadius = 8
 
constexpr int BorderRadiusMin = 0
 
constexpr int BorderRadiusMax = 20
 

Detailed Description

Single source of truth for window-decoration appearance defaults.

Consumed by BOTH sides of the D-Bus boundary: the daemon's ConfigDefaults (persisted setting defaults) and the compositor plugin's BorderState (pre-settings-load rendering state). Sharing the symbols makes drift between the two structurally impossible — the effect renders with the same values the daemon would persist until the async settings load lands.

These are WINDOW decoration constants (tiled/snapped window borders and title bars), not the zone-overlay border constants in ZoneDefaults.

Variable Documentation

◆ BorderRadius

constexpr int PhosphorCompositor::DecorationDefaults::BorderRadius = 8
inlineconstexpr

◆ BorderRadiusMax

constexpr int PhosphorCompositor::DecorationDefaults::BorderRadiusMax = 20
inlineconstexpr

◆ BorderRadiusMin

constexpr int PhosphorCompositor::DecorationDefaults::BorderRadiusMin = 0
inlineconstexpr

◆ BorderWidth

constexpr int PhosphorCompositor::DecorationDefaults::BorderWidth = 2
inlineconstexpr

◆ BorderWidthMax

constexpr int PhosphorCompositor::DecorationDefaults::BorderWidthMax = 10
inlineconstexpr

◆ BorderWidthMin

constexpr int PhosphorCompositor::DecorationDefaults::BorderWidthMin = 0
inlineconstexpr

◆ HideTitleBars

constexpr bool PhosphorCompositor::DecorationDefaults::HideTitleBars = false
inlineconstexpr

◆ ShowBorder

constexpr bool PhosphorCompositor::DecorationDefaults::ShowBorder = false
inlineconstexpr