Active drag-insert preview state. More...
#include <PhosphorTileEngine/AutotileEngineTypes.h>
Public Attributes | |
| QString | windowId |
| QString | targetScreenId |
| PhosphorEngine::TilingStateKey | targetKey |
| The context key the preview inserted into (targetScreenId's current key at begin), so commit and cancel move the same membership begin moved rather than re-resolving one after a context change. | |
| int | lastInsertIndex = -1 |
| bool | hadPriorState = false |
| PhosphorEngine::TilingStateKey | priorKey |
| int | priorRawIndex = -1 |
| bool | priorFloating = false |
| bool | priorOverflow = false |
| Whether that prior float was an OVERFLOW float rather than a user one. | |
| bool | priorSameScreen = false |
| QString | evictedWindowId |
Active drag-insert preview state.
When set, applyTiling() filters the dragged window out of the windowsTiled batch so the KWin interactive move isn't fought, while the remaining windows animate into their new positions. Supports three entry modes (captured at begin() time for cancel restoration):
| QString PhosphorTileEngine::DragInsertPreview::evictedWindowId |
| bool PhosphorTileEngine::DragInsertPreview::hadPriorState = false |
| int PhosphorTileEngine::DragInsertPreview::lastInsertIndex = -1 |
| bool PhosphorTileEngine::DragInsertPreview::priorFloating = false |
| PhosphorEngine::TilingStateKey PhosphorTileEngine::DragInsertPreview::priorKey |
| bool PhosphorTileEngine::DragInsertPreview::priorOverflow = false |
Whether that prior float was an OVERFLOW float rather than a user one.
begin clears the overflow mark when it unfloats, so cancel has to know which kind to restore: an unmarked re-float is recorded by capturePlacement as a phantom user float and is never picked up by recoverIfRoom, which walks the overflow set only.
| int PhosphorTileEngine::DragInsertPreview::priorRawIndex = -1 |
| bool PhosphorTileEngine::DragInsertPreview::priorSameScreen = false |
| PhosphorEngine::TilingStateKey PhosphorTileEngine::DragInsertPreview::targetKey |
The context key the preview inserted into (targetScreenId's current key at begin), so commit and cancel move the same membership begin moved rather than re-resolving one after a context change.
| QString PhosphorTileEngine::DragInsertPreview::targetScreenId |
| QString PhosphorTileEngine::DragInsertPreview::windowId |