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

Compositor-agnostic engine-managed (tiling-family) border state. More...

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

Public Attributes

QHash< QString, QSet< QString > > tiledWindowsByScreen
 windowId → screen bucket of tile-managed windows (drives border RENDERING).
 

Detailed Description

Compositor-agnostic engine-managed (tiling-family) border state.

Tracks which windows are tile-managed (drives border RENDERING). Title-bar/ borderless state lives in the DecorationManager's owner model, not here, and per-window border appearance (width / radius / colour / show) is resolved from rules in the effect. 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

◆ 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.


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