Active drag-insert preview state. More...
#include <phosphor-tile-engine/include/PhosphorTileEngine/AutotileEngineTypes.h>
Public Attributes | |
| QString | windowId |
| QString | targetScreenId |
| 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 |
| QString PhosphorTileEngine::DragInsertPreview::targetScreenId |
| QString PhosphorTileEngine::DragInsertPreview::windowId |