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

Context for a cross-engine window handoff. More...

#include <phosphor-engine/include/PhosphorEngine/IPlacementEngine.h>

Public Attributes

QString windowId
 
QString fromEngineId
 source engine identity ("snap" / "autotile" / "")
 
QString toScreenId
 destination screen (must be owned by to engine)
 
QPoint dropPos
 cursor position at drop, or invalid for non-drag handoffs
 
QRect sourceGeometry
 window's frame at handoff time (for size preservation)
 
QStringList sourceZoneIds
 zones the window held at source (empty if not snapped)
 
bool wasFloating = false
 window was floating in source engine
 

Detailed Description

Context for a cross-engine window handoff.

Populated by the daemon from the source engine's state and the drop event before invoking handoffReceive on the destination engine.

Member Data Documentation

◆ dropPos

QPoint PhosphorEngine::IPlacementEngine::HandoffContext::dropPos

cursor position at drop, or invalid for non-drag handoffs

◆ fromEngineId

QString PhosphorEngine::IPlacementEngine::HandoffContext::fromEngineId

source engine identity ("snap" / "autotile" / "")

◆ sourceGeometry

QRect PhosphorEngine::IPlacementEngine::HandoffContext::sourceGeometry

window's frame at handoff time (for size preservation)

◆ sourceZoneIds

QStringList PhosphorEngine::IPlacementEngine::HandoffContext::sourceZoneIds

zones the window held at source (empty if not snapped)

◆ toScreenId

QString PhosphorEngine::IPlacementEngine::HandoffContext::toScreenId

destination screen (must be owned by to engine)

◆ wasFloating

bool PhosphorEngine::IPlacementEngine::HandoffContext::wasFloating = false

window was floating in source engine

◆ windowId

QString PhosphorEngine::IPlacementEngine::HandoffContext::windowId

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