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

Namespaces

namespace  AutotileStateHelpers
 Compositor-agnostic autotile state accessors and pure helpers.
 
namespace  GeometryHelpers
 Compositor-agnostic geometry helper utilities.
 
namespace  SnapAssistFilter
 Compositor-agnostic snap assist candidate builder.
 
namespace  TriggerParser
 Compositor-agnostic trigger parsing and modifier checking.
 

Classes

struct  BorderState
 Compositor-agnostic autotile border state. More...
 
class  DaemonClient
 
class  DebouncedScreenAction
 Compositor-agnostic debounced action with coalescing. More...
 
class  FloatingCache
 Compositor-agnostic floating window state cache. More...
 
struct  GeometryRequest
 
class  ICompositorBridge
 Abstract interface bridging compositor-agnostic logic to compositor-specific APIs. More...
 
class  IDragHandler
 
class  IGeometryHandler
 
class  ILifecycleHandler
 
struct  ParsedTrigger
 Pre-parsed activation trigger (avoids QVariant unboxing in hot path) More...
 
struct  WindowInfo
 Compositor-agnostic window property snapshot. More...
 

Typedefs

using WindowHandle = void *
 Opaque handle to a compositor window.
 

Enumerations

enum class  BatchAction { Resnap , Rotate , Autotile }
 

Typedef Documentation

◆ WindowHandle

using PhosphorCompositor::WindowHandle = typedef void*

Opaque handle to a compositor window.

Each compositor plugin provides its own concrete type:

  • KWin: wraps KWin::EffectWindow*
  • Wayfire: wraps wayfire_view

The handle is a type-erased pointer. Concrete implementations static_cast back to their compositor-specific pointer type. nullptr is the sentinel for "no window" / "not found".

Enumeration Type Documentation

◆ BatchAction

Enumerator
Resnap 
Rotate 
Autotile