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

An already-managed window ARRIVING in a state via migrateWindowBetweenKeys, with the float state it held on the source, captured before the source removed it. More...

#include <phosphor-tile-engine/include/PhosphorTileEngine/AutotileEngineTypes.h>

Public Attributes

QString windowId
 
bool wasFloating = false
 

Detailed Description

An already-managed window ARRIVING in a state via migrateWindowBetweenKeys, with the float state it held on the source, captured before the source removed it.

Set only for the duration of that migration's synchronous onWindowAdded() → insertWindow() call, so insertWindow can tell a migration apart from a genuine open. m_floatPredicate answers "should this app OPEN floating" — a pure app-rule match with no memory of a later Meta+F — so re-running it on a migration would silently re-float a float-ruled window the user had explicitly tiled. A migrating window carries this live float state across instead.

Member Data Documentation

◆ wasFloating

bool PhosphorTileEngine::MigrationArrival::wasFloating = false

◆ windowId

QString PhosphorTileEngine::MigrationArrival::windowId

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