Compositor-agnostic window property snapshot. More...
#include <phosphor-compositor/include/PhosphorCompositor/ICompositorBridge.h>
Public Attributes | |
| WindowHandle | handle = nullptr |
| QString | windowId |
| QString | appId |
| QString | windowClass |
| WM_CLASS / app_id as reported by compositor (may differ from appId for XWayland) | |
| QString | screenId |
| QString | caption |
| QIcon | icon |
| QRectF | frameGeometry |
| QSizeF | minSize |
| bool | isMinimized = false |
| bool | isFullScreen = false |
| Currently written but read by no consumer. | |
| bool | isOnCurrentDesktop = true |
| bool | isOnCurrentActivity = true |
| bool | hasDecoration = false |
| bool | isNormalWindow = true |
| bool | keepAbove = false |
| qint64 | pid = 0 |
Compositor-agnostic window property snapshot.
Used for operations that need multiple properties at once (e.g., snap assist candidate building, window list serialization). Avoids repeated virtual calls for bulk operations.
| QString PhosphorCompositor::WindowInfo::appId |
| QString PhosphorCompositor::WindowInfo::caption |
| QRectF PhosphorCompositor::WindowInfo::frameGeometry |
| WindowHandle PhosphorCompositor::WindowInfo::handle = nullptr |
| bool PhosphorCompositor::WindowInfo::hasDecoration = false |
| QIcon PhosphorCompositor::WindowInfo::icon |
| bool PhosphorCompositor::WindowInfo::isFullScreen = false |
Currently written but read by no consumer.
CONTRACT: this field is the raw compositor state, so a scrolling window in WINDOWED fullscreen reports true (its client holds KWin fullscreen while the strip owns its geometry). A consumer that needs to distinguish the strip-managed hold from genuine fullscreen must not overload this flag — add a distinct isWindowedFullscreen instead.
| bool PhosphorCompositor::WindowInfo::isMinimized = false |
| bool PhosphorCompositor::WindowInfo::isNormalWindow = true |
| bool PhosphorCompositor::WindowInfo::isOnCurrentActivity = true |
| bool PhosphorCompositor::WindowInfo::isOnCurrentDesktop = true |
| bool PhosphorCompositor::WindowInfo::keepAbove = false |
| QSizeF PhosphorCompositor::WindowInfo::minSize |
| qint64 PhosphorCompositor::WindowInfo::pid = 0 |
| QString PhosphorCompositor::WindowInfo::screenId |
| QString PhosphorCompositor::WindowInfo::windowClass |
WM_CLASS / app_id as reported by compositor (may differ from appId for XWayland)
| QString PhosphorCompositor::WindowInfo::windowId |