Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorZones::CombinedAssignmentKey Struct Reference

Triple-axis key for the Combined-context batch API. More...

#include <phosphor-zones/include/PhosphorZones/LayoutRegistry.h>

Public Member Functions

bool operator== (const CombinedAssignmentKey &other) const
 

Public Attributes

QString screenId
 
int virtualDesktop = 0
 
QString activity
 

Detailed Description

Triple-axis key for the Combined-context batch API.

Combined rules pin all three dimensions (screen + desktop + activity) — the QPair-based keys used by the Activity / Desktop batch APIs can't represent them. This struct + qHash overload below let combinedAssignments() / setAllCombinedAssignments() round-trip Combined rules without dropping any dimension. Pure-Activity, pure- Desktop, and Monitor-only rules continue to use their dedicated batches and stay invisible to this API.

Member Function Documentation

◆ operator==()

bool PhosphorZones::CombinedAssignmentKey::operator== ( const CombinedAssignmentKey other) const
inline

Member Data Documentation

◆ activity

QString PhosphorZones::CombinedAssignmentKey::activity

◆ screenId

QString PhosphorZones::CombinedAssignmentKey::screenId

◆ virtualDesktop

int PhosphorZones::CombinedAssignmentKey::virtualDesktop = 0

The documentation for this struct was generated from the following file: