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

Compositor-agnostic autotile border state. More...

#include <phosphor-compositor/include/PhosphorCompositor/AutotileState.h>

Public Attributes

QHash< QString, QSet< QString > > tiledWindowsByScreen
 windowId → screen bucket of tile-managed windows (drives border RENDERING).
 
bool hideTitleBars = DecorationDefaults::HideTitleBars
 
bool showBorder = DecorationDefaults::ShowBorder
 
int width = DecorationDefaults::BorderWidth
 
int radius = DecorationDefaults::BorderRadius
 
QColor color
 
QColor inactiveColor
 

Detailed Description

Compositor-agnostic autotile border state.

Tracks which windows are tile-managed (drives border RENDERING) plus the shared border appearance settings. Title-bar/borderless state lives in the DecorationManager's owner model, not here. Per-screen keyed so per-VS retiles can update tracking in isolation without cross-contaminating with windows on sibling virtual screens. Shared across compositor plugins to avoid duplicating state management.

Member Data Documentation

◆ color

QColor PhosphorCompositor::BorderState::color

◆ hideTitleBars

bool PhosphorCompositor::BorderState::hideTitleBars = DecorationDefaults::HideTitleBars

◆ inactiveColor

QColor PhosphorCompositor::BorderState::inactiveColor

◆ radius

int PhosphorCompositor::BorderState::radius = DecorationDefaults::BorderRadius

◆ showBorder

bool PhosphorCompositor::BorderState::showBorder = DecorationDefaults::ShowBorder

◆ tiledWindowsByScreen

QHash<QString, QSet<QString> > PhosphorCompositor::BorderState::tiledWindowsByScreen

windowId → screen bucket of tile-managed windows (drives border RENDERING).

QHash keyed by screen id so per-VS retiles update only their own bucket and don't touch windows managed by a sibling VS's retile. Title-bar (borderless) state is NOT tracked here — that is the DecorationManager's owner model.

◆ width

int PhosphorCompositor::BorderState::width = DecorationDefaults::BorderWidth

The documentation for this struct was generated from the following file: