Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorProtocol::Service::WindowMetadataKey Namespace Reference

Keys for the extended-window-property QVariantMap (the trailing a{sv} argument of setWindowMetadata). More...

Functions

constexpr QLatin1String IsMinimized ("isMinimized")
 
constexpr QLatin1String IsDemandingAttention ("isDemandingAttention")
 Urgency (KWin's demandsAttention).
 
constexpr QLatin1String IsFullscreen ("isFullscreen")
 
constexpr QLatin1String IsSticky ("isSticky")
 
constexpr QLatin1String IsMaximized ("isMaximized")
 
constexpr QLatin1String IsFocused ("isFocused")
 
constexpr QLatin1String IsTransient ("isTransient")
 
constexpr QLatin1String IsNotification ("isNotification")
 
constexpr QLatin1String KeepAbove ("keepAbove")
 
constexpr QLatin1String KeepBelow ("keepBelow")
 
constexpr QLatin1String SkipTaskbar ("skipTaskbar")
 
constexpr QLatin1String SkipPager ("skipPager")
 
constexpr QLatin1String SkipSwitcher ("skipSwitcher")
 
constexpr QLatin1String IsModal ("isModal")
 
constexpr QLatin1String HasDecoration ("hasDecoration")
 
constexpr QLatin1String IsResizable ("isResizable")
 
constexpr QLatin1String IsMovable ("isMovable")
 
constexpr QLatin1String IsMaximizable ("isMaximizable")
 
constexpr QLatin1String Width ("width")
 
constexpr QLatin1String Height ("height")
 
constexpr QLatin1String PositionX ("positionX")
 
constexpr QLatin1String PositionY ("positionY")
 
constexpr QLatin1String CaptionNormal ("captionNormal")
 
constexpr QLatin1String VirtualDesktops ("virtualDesktops")
 Full 1-based desktop-number list for a window on SEVERAL (but not all) virtual desktops.
 

Detailed Description

Keys for the extended-window-property QVariantMap (the trailing a{sv} argument of setWindowMetadata).

The kwin-effect packs the live KWin-property / geometry snapshot under these keys; the daemon unpacks them into WindowMetadata so its window-rule resolvers match the same fields the effect path resolves. A key is PRESENT only when the value is known — absence leaves the WindowQuery field disengaged, mirroring window_query.cpp's engage-only-when-known contract.

Function Documentation

◆ CaptionNormal()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::CaptionNormal ( "captionNormal"  )
inlineconstexpr

◆ HasDecoration()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::HasDecoration ( "hasDecoration"  )
inlineconstexpr

◆ Height()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::Height ( "height"  )
inlineconstexpr

◆ IsDemandingAttention()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsDemandingAttention ( "isDemandingAttention"  )
inlineconstexpr

Urgency (KWin's demandsAttention).

Like IsMinimized, and unlike the point-in-time fields, the effect re-pushes full metadata on every edge, so a consumer may rely on it staying current.

◆ IsFocused()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsFocused ( "isFocused"  )
inlineconstexpr

◆ IsFullscreen()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsFullscreen ( "isFullscreen"  )
inlineconstexpr

◆ IsMaximizable()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsMaximizable ( "isMaximizable"  )
inlineconstexpr

◆ IsMaximized()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsMaximized ( "isMaximized"  )
inlineconstexpr

◆ IsMinimized()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsMinimized ( "isMinimized"  )
inlineconstexpr

◆ IsModal()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsModal ( "isModal"  )
inlineconstexpr

◆ IsMovable()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsMovable ( "isMovable"  )
inlineconstexpr

◆ IsNotification()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsNotification ( "isNotification"  )
inlineconstexpr

◆ IsResizable()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsResizable ( "isResizable"  )
inlineconstexpr

◆ IsSticky()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsSticky ( "isSticky"  )
inlineconstexpr

◆ IsTransient()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::IsTransient ( "isTransient"  )
inlineconstexpr

◆ KeepAbove()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::KeepAbove ( "keepAbove"  )
inlineconstexpr

◆ KeepBelow()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::KeepBelow ( "keepBelow"  )
inlineconstexpr

◆ PositionX()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::PositionX ( "positionX"  )
inlineconstexpr

◆ PositionY()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::PositionY ( "positionY"  )
inlineconstexpr

◆ SkipPager()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::SkipPager ( "skipPager"  )
inlineconstexpr

◆ SkipSwitcher()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::SkipSwitcher ( "skipSwitcher"  )
inlineconstexpr

◆ SkipTaskbar()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::SkipTaskbar ( "skipTaskbar"  )
inlineconstexpr

◆ VirtualDesktops()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::VirtualDesktops ( "virtualDesktops"  )
inlineconstexpr

Full 1-based desktop-number list for a window on SEVERAL (but not all) virtual desktops.

Sent only when the window spans more than one desktop; the positional virtualDesktop arg stays the first entry for compatibility.

◆ Width()

constexpr QLatin1String PhosphorProtocol::Service::WindowMetadataKey::Width ( "width"  )
inlineconstexpr