|
| bool | isTiledWindow (const BorderState &border, const QString &windowId) |
| |
| bool | shouldShowBorderForWindow (const BorderState &border, const QString &windowId) |
| |
| void | cleanupClosedWindowState (const QString &windowId, BorderState &border, AutotileWindowState &state) |
| | Clean up all state tracking for a closed window.
|
| |
| void | addTiledOnScreen (BorderState &border, const QString &screenId, const QString &windowId) |
| | Add a window to a screen's tiled bucket. Idempotent.
|
| |
| bool | removeTiledOnScreen (BorderState &border, const QString &screenId, const QString &windowId) |
| | Remove a window from a specific screen's tiled bucket.
|
| |
| void | removeFromOtherScreens (BorderState &border, const QString &windowId, const QString &keepScreenId) |
| | Remove a window from every screen's tiled bucket EXCEPT keepScreenId (cross-screen transfer: a window is tile-managed by one screen at a time, so re-recording on a new screen first strips any stale sibling claim).
|
| |
| bool | removeFromAllScreens (BorderState &border, const QString &windowId) |
| | Remove a window from every screen's tiled bucket.
|
| |
| QSet< QString > | tiledOnScreen (const BorderState &border, const QString &screenId) |
| | Detached copy of the set of tiled windows on a given screen (QHash::value copy, not a reference).
|
| |
| QVector< QPair< QString, QString > > | allTiledPairs (const BorderState &border) |
| | Collect every tiled (windowId, screenId) pair for bulk operations (hide-titlebars toggle on).
|
| |
Compositor-agnostic autotile state accessors and pure helpers.
These functions operate on BorderState and other pure data structures without touching any compositor APIs. Shared by all compositor plugins.