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

#include <PhosphorEngine/EngineTypes.h>

Public Attributes

QString windowId
int zonePosition = 0
QString screenId
int virtualDesktop = 0
bool fromRemovedLayout = false
 The entry holds a zone of a layout being deleted (bufferWindowsOfRemovedLayout).
QStringList zoneIds {}
 Every zone the window held, primary first.

Member Data Documentation

◆ fromRemovedLayout

bool PhosphorEngine::ResnapEntry::fromRemovedLayout = false

The entry holds a zone of a layout being deleted (bufferWindowsOfRemovedLayout).

A context the delete leaves on no layout sends it to its float-back, or the prune unsnaps it in place; a plain switch to no layout keeps the zone (cr1_f1093_context_layout_delete, none_layout_memory). Appended for ABI.

◆ screenId

QString PhosphorEngine::ResnapEntry::screenId

◆ virtualDesktop

int PhosphorEngine::ResnapEntry::virtualDesktop = 0

◆ windowId

QString PhosphorEngine::ResnapEntry::windowId

◆ zoneIds

QStringList PhosphorEngine::ResnapEntry::zoneIds {}

Every zone the window held, primary first.

A layout that still holds them all gets them back as they were, so a span survives a round trip through tiling or scrolling on the same layout; any other layout takes zonePosition. Empty on a fromRemovedLayout entry, whose zones went with the deleted layout, so zonePosition alone decides there. Appended for ABI.

◆ zonePosition

int PhosphorEngine::ResnapEntry::zonePosition = 0

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