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

Keys of the scrolling BEHAVIOUR map that crosses the daemon → KWin effect boundary on org.phosphor_works.Placement.Scrolling (scrollEffectBehaviour / scrollEffectBehaviourChanged): already-resolved screen-id lists, one per key below. More...

Functions

constexpr QLatin1String FocusFollowsMouse ("focusFollowsMouse")
constexpr QLatin1String CropStraddlers ("cropStraddlers")
constexpr QLatin1String VerticalAxis ("verticalAxis")

Detailed Description

Keys of the scrolling BEHAVIOUR map that crosses the daemon → KWin effect boundary on org.phosphor_works.Placement.Scrolling (scrollEffectBehaviour / scrollEffectBehaviourChanged): already-resolved screen-id lists, one per key below.

They are the per-context focus-follows-mouse and crop-straddlers rule slots and the vertical-axis MEMBERSHIP (a screen in the list runs its strip vertically; absence means horizontal).

What is NOT here is the focus-follows-mouse scroll cap's blocked-window list, which rides its own property beside this one. The split is about UPDATE RATE, not about shape: these lists answer settings and rules and change when the user changes something, while the block list is a fact about where each strip's view currently sits and is re-derived on every relayout. Folded in here, a strip that merely scrolled made the effect re-parse and re-compare screen lists that had not moved.

The daemon's ScrollingAdaptor produces the map and the effect's TilingHandler reads it; one home for the spellings, on ScrollTabKey's terms, so a rename is a compile error on both sides rather than a lookup that silently misses its diagnostic label. The XML DocString in plasmazones/dbus/org.phosphor_works.Placement.Scrolling.xml repeats them as prose only.

Function Documentation

◆ CropStraddlers()

QLatin1String PhosphorProtocol::Service::ScrollBehaviourKey::CropStraddlers ( "cropStraddlers" )
inlineconstexpr

◆ FocusFollowsMouse()

QLatin1String PhosphorProtocol::Service::ScrollBehaviourKey::FocusFollowsMouse ( "focusFollowsMouse" )
inlineconstexpr

◆ VerticalAxis()

QLatin1String PhosphorProtocol::Service::ScrollBehaviourKey::VerticalAxis ( "verticalAxis" )
inlineconstexpr