|
| QString | findSavedGeometryKey (const QHash< QString, QRectF > &savedGeometries, const QString &windowId) |
| | Find key in saved geometries map for a window (exact match only)
|
| |
| bool | hasSavedGeometryForWindow (const QHash< QString, QRectF > &savedGeometries, const QString &windowId) |
| | Check if we already have saved geometry for this window.
|
| |
| bool | isBorderlessWindow (const BorderState &border, const QString &windowId) |
| |
| bool | isTiledWindow (const BorderState &border, const QString &windowId) |
| |
| bool | shouldShowBorderForWindow (const BorderState &border, const QString &windowId) |
| |
| bool | shouldApplyBorderInset (const BorderState &border, const QString &windowId) |
| |
| std::optional< QRect > | borderZoneGeometry (const BorderState &border, const QString &windowId) |
| |
| QVector< QRect > | allBorderZoneGeometries (const BorderState &border) |
| |
| QRect | applyBorderInset (const QRect &geo, int borderWidth) |
| | Apply border inset to a geometry (shrink by border width on all sides)
|
| |
| bool | shouldInsetForBorder (const BorderState &border, const QString &windowId, const QRect &geo) |
| | Check if border inset should be applied for a window's geometry.
|
| |
| void | cleanupClosedWindowState (const QString &windowId, const QString &screenId, BorderState &border, AutotileWindowState &state) |
| | Clean up all state tracking for a closed window.
|
| |
| void | addBorderlessOnScreen (BorderState &border, const QString &screenId, const QString &windowId) |
| | Add a window to a screen's borderless bucket. Idempotent.
|
| |
| void | addTiledOnScreen (BorderState &border, const QString &screenId, const QString &windowId) |
| | Add a window to a screen's tiled bucket. Idempotent.
|
| |
| bool | removeBorderlessOnScreen (BorderState &border, const QString &screenId, const QString &windowId) |
| | Remove a window from a specific screen's borderless bucket.
|
| |
| bool | removeTiledOnScreen (BorderState &border, const QString &screenId, const QString &windowId) |
| | Remove a window from a specific screen's tiled bucket.
|
| |
| bool | removeFromAllScreens (BorderState &border, const QString &windowId) |
| | Remove a window from all screen buckets (both borderless and tiled).
|
| |
| QSet< QString > | tiledOnScreen (const BorderState &border, const QString &screenId) |
| | Read-only view of the set of tiled windows on a given screen. Empty if none.
|
| |
| QSet< QString > | borderlessOnScreen (const BorderState &border, const QString &screenId) |
| | Read-only view of the set of borderless windows on a given screen. Empty if none.
|
| |
| QVector< QPair< QString, QString > > | allBorderlessPairs (const BorderState &border) |
| | Collect every borderless (windowId, screenId) pair for bulk operations (feature disable, hide-titlebars toggle off).
|
| |
| QVector< QPair< QString, QString > > | allTiledPairs (const BorderState &border) |
| | Same for tiled. Used by updateHideTitleBarsSetting's toggle-on path.
|
| |
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.