Outcome of resolving a layer focus switch. More...
#include <phosphor-engine/include/PhosphorEngine/LayerFocusSwitch.h>
Public Attributes | |
| bool | success = false |
| bool | toTiled = false |
| Which leg ran: true = float layer held focus and the switch targets the tiled side. | |
| QString | reason |
| Feedback reason token: "tiled" / "floating" on success, "no_target" on failure. | |
| QString | source |
| QString | target |
Outcome of resolving a layer focus switch.
Pure data — the engine emits activation/feedback from it (PlacementEngineBase::announceLayerSwitch) and applies its own activation policy first (e.g. the scroll engine's self-activation echo queue on the float-to-tiling leg).
| QString PhosphorEngine::LayerSwitchResult::reason |
Feedback reason token: "tiled" / "floating" on success, "no_target" on failure.
Engines may remap the success token before emitting (the snap engine says "snapped" where scroll says "tiled").
| QString PhosphorEngine::LayerSwitchResult::source |
| bool PhosphorEngine::LayerSwitchResult::success = false |
| QString PhosphorEngine::LayerSwitchResult::target |
| bool PhosphorEngine::LayerSwitchResult::toTiled = false |
Which leg ran: true = float layer held focus and the switch targets the tiled side.
Valid on failure too (the leg that found no target).