Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorRules::StickyWindowHandlingToken Namespace Reference

Wire tokens for SetScrollStickyWindowHandling's value param — how the strip treats a window shown on all desktops. More...

Variables

constexpr QLatin1StringView TreatAsNormal {"treatAsNormal"}
constexpr QLatin1StringView RestoreOnly {"restoreOnly"}
constexpr QLatin1StringView IgnoreAll {"ignoreAll"}

Detailed Description

Wire tokens for SetScrollStickyWindowHandling's value param — how the strip treats a window shown on all desktops.

Ints match PhosphorEngine::StickyWindowHandling (treatAsNormal 0 / restoreOnly 1 / ignoreAll 2) and the spellings match the settings schema's intChoices (settingsschema_scrolling.cpp) so a rule and the settings page name the same thing. The SCROLLING engine collapses both non-normal values to "float the window" at its single consumption site; the distinction is preserved on the wire because the snapping and tiling engines honour it and a future scrolling consumer may too.

Variable Documentation

◆ IgnoreAll

QLatin1StringView PhosphorRules::StickyWindowHandlingToken::IgnoreAll {"ignoreAll"}
inlineconstexpr

◆ RestoreOnly

QLatin1StringView PhosphorRules::StickyWindowHandlingToken::RestoreOnly {"restoreOnly"}
inlineconstexpr

◆ TreatAsNormal

QLatin1StringView PhosphorRules::StickyWindowHandlingToken::TreatAsNormal {"treatAsNormal"}
inlineconstexpr