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

#include <PhosphorEngine/EngineTypes.h>

Public Attributes

QString windowId
QString sourceZoneId
QString targetZoneId
QStringList targetZoneIds
QRect targetGeometry
QString targetScreenId
int virtualDesktop = 0
 Virtual desktop to record the assignment on (1-based).
bool restatement = false
 The entry re-states a placement the window already has (a carry to the desktop it moved to, a re-apply, a gap reflow) rather than making one, so the batch is relayed as action "restate": no Snap Assist, no layout-switch animation.

Member Data Documentation

◆ restatement

bool PhosphorEngine::ZoneAssignmentEntry::restatement = false

The entry re-states a placement the window already has (a carry to the desktop it moved to, a re-apply, a gap reflow) rather than making one, so the batch is relayed as action "restate": no Snap Assist, no layout-switch animation.

◆ sourceZoneId

QString PhosphorEngine::ZoneAssignmentEntry::sourceZoneId

◆ targetGeometry

QRect PhosphorEngine::ZoneAssignmentEntry::targetGeometry

◆ targetScreenId

QString PhosphorEngine::ZoneAssignmentEntry::targetScreenId

◆ targetZoneId

QString PhosphorEngine::ZoneAssignmentEntry::targetZoneId

◆ targetZoneIds

QStringList PhosphorEngine::ZoneAssignmentEntry::targetZoneIds

◆ virtualDesktop

int PhosphorEngine::ZoneAssignmentEntry::virtualDesktop = 0

Virtual desktop to record the assignment on (1-based).

0 means "the window's current desktop" — the historical behaviour. Resnap producers stamp the window's recorded desktop here so a batch commit preserves it instead of re-stamping whatever desktop is currently active (which corrupts off-desktop windows caught in a cross-desktop batch).

◆ windowId

QString PhosphorEngine::ZoneAssignmentEntry::windowId

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