D-Bus struct for window state: (sssbsasb)
More...
#include <phosphor-protocol/include/PhosphorProtocol/WindowTypes.h>
|
| QString | validationError () const |
| | Returns empty QString if valid, else a human-readable description of the invariant violation.
|
| |
|
| QString | windowId |
| |
| QString | zoneId |
| |
| QString | screenId |
| |
| bool | isFloating = false |
| |
| QString | changeType |
| | "snapped", "unsnapped", "floated", "unfloated", "screen_changed"
|
| |
| QStringList | zoneIds |
| | D-Bus type 'as' — all zone IDs for multi-zone span (query only)
|
| |
| bool | isSticky = false |
| | Whether window is on all virtual desktops (query only)
|
| |
D-Bus struct for window state: (sssbsasb)
◆ validationError()
| QString PhosphorProtocol::WindowStateEntry::validationError |
( |
| ) |
const |
|
inline |
Returns empty QString if valid, else a human-readable description of the invariant violation.
Called at the windowStateChanged unmarshal site (like DragPolicy / BridgeRegistrationResult on their paths) so a garbled entry — one naming no window — can't perturb the effect's zone cache. zoneId is intentionally unchecked: empty is the valid "unsnapped / floated" signal.
◆ changeType
| QString PhosphorProtocol::WindowStateEntry::changeType |
"snapped", "unsnapped", "floated", "unfloated", "screen_changed"
◆ isFloating
| bool PhosphorProtocol::WindowStateEntry::isFloating = false |
◆ isSticky
| bool PhosphorProtocol::WindowStateEntry::isSticky = false |
Whether window is on all virtual desktops (query only)
◆ screenId
| QString PhosphorProtocol::WindowStateEntry::screenId |
◆ windowId
| QString PhosphorProtocol::WindowStateEntry::windowId |
◆ zoneId
| QString PhosphorProtocol::WindowStateEntry::zoneId |
◆ zoneIds
| QStringList PhosphorProtocol::WindowStateEntry::zoneIds |
D-Bus type 'as' — all zone IDs for multi-zone span (query only)
The documentation for this struct was generated from the following file: