* @brief Returns true if any tracked window is currently in the maximized state. */
| 229 | * @brief Returns true if any tracked window is currently in the maximized state. |
| 230 | */ |
| 231 | static bool anyWindowMaximized(const QMap<int, QQuickItem*>& windows) |
| 232 | { |
| 233 | for (auto* win : std::as_const(windows)) |
| 234 | if (win && win->state() == "maximized") |
| 235 | return true; |
| 236 | |
| 237 | return false; |
| 238 | } |
| 239 | |
| 240 | /** |
| 241 | * @brief Sets a window's geometry to the given rectangle. |
no outgoing calls
no test coverage detected