Saved position for a window removed from autotile, keyed by appId. More...
#include <phosphor-tile-engine/include/PhosphorTileEngine/AutotileEngine.h>
Public Member Functions | |
| PendingAutotileRestore ()=default | |
| PendingAutotileRestore (int pos, PhosphorEngine::TilingStateKey ctx, bool floating) | |
Public Attributes | |
| int | position = -1 |
| Index in window order at time of removal. | |
| PhosphorEngine::TilingStateKey | context |
| Screen/desktop/activity where the window was tiled. | |
| bool | wasFloating = false |
| Whether the window was floating when removed. | |
Saved position for a window removed from autotile, keyed by appId.
When a window closes while autotiled, its position is captured so that reopening the same app restores it to the same tiling position. Analogous to snapping's PendingRestoreQueues but for autotile's order-based model.
|
default |
|
inline |
| PhosphorEngine::TilingStateKey PhosphorTileEngine::PendingAutotileRestore::context |
Screen/desktop/activity where the window was tiled.
| int PhosphorTileEngine::PendingAutotileRestore::position = -1 |
Index in window order at time of removal.
| bool PhosphorTileEngine::PendingAutotileRestore::wasFloating = false |
Whether the window was floating when removed.