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 > > borderlessWindowsByScreen
 windowId → screen bucket owning its borderless state.
 
QHash< QString, QSet< QString > > tiledWindowsByScreen
 Same shape for the full tiled set (superset of borderless).
 
QHash< QString, QRect > zoneGeometries
 PhosphorZones::Zone geometries remain windowId-keyed — a window only lives in one zone at a time, regardless of which screen owns it.
 
bool hideTitleBars = false
 
bool showBorder = false
 
int width = 2
 
int radius = 0
 
QColor color
 
QColor inactiveColor
 

Detailed Description

Compositor-agnostic autotile border state.

Tracks which windows are borderless/tiled and their zone geometries. 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

◆ borderlessWindowsByScreen

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

windowId → screen bucket owning its borderless state.

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.

◆ color

QColor PhosphorCompositor::BorderState::color

◆ hideTitleBars

bool PhosphorCompositor::BorderState::hideTitleBars = false

◆ inactiveColor

QColor PhosphorCompositor::BorderState::inactiveColor

◆ radius

int PhosphorCompositor::BorderState::radius = 0

◆ showBorder

bool PhosphorCompositor::BorderState::showBorder = false

◆ tiledWindowsByScreen

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

Same shape for the full tiled set (superset of borderless).

◆ width

int PhosphorCompositor::BorderState::width = 2

◆ zoneGeometries

QHash<QString, QRect> PhosphorCompositor::BorderState::zoneGeometries

PhosphorZones::Zone geometries remain windowId-keyed — a window only lives in one zone at a time, regardless of which screen owns it.


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