Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
LayerFocusSwitch.h File Reference
#include <phosphorengine_export.h>
#include <QString>
#include <QStringList>
#include <functional>

Go to the source code of this file.

Classes

struct  PhosphorEngine::LayerSwitchSide
 One side (tiled or floating) of a layer focus switch, as the owning engine sees it. More...
 
struct  PhosphorEngine::LayerSwitchResult
 Outcome of resolving a layer focus switch. More...
 

Namespaces

namespace  PhosphorEngine
 

Functions

PHOSPHORENGINE_EXPORT LayerSwitchResult PhosphorEngine::resolveLayerFocusSwitch (bool floatingHasFocus, const LayerSwitchSide &tiledSide, const LayerSwitchSide &floatingSide)
 Resolve niri's switch-focus-between-floating-and-tiling for any engine: pick the leg from floatingHasFocus, then the target on the far side — its candidate if eligible, else the first eligible fallback.