Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
EngineTypes.h File Reference
#include <QHashFunctions>
#include <QLatin1StringView>
#include <functional>
#include <QList>
#include <QRect>
#include <QString>
#include <QStringList>

Go to the source code of this file.

Classes

struct  PhosphorEngine::PlacementStateKey
 Identity of a per-screen placement state: a window's placement is scoped to the (screen, virtual desktop, activity) triple it was created in. More...
 
struct  std::hash< PhosphorEngine::PlacementStateKey >
 std::hash alongside qHash, so the key works in a std:: container too. More...
 
struct  PhosphorEngine::ResnapEntry
 
struct  PhosphorEngine::PendingRestore
 
struct  PhosphorEngine::SnapResult
 
struct  PhosphorEngine::UnfloatResult
 
struct  PhosphorEngine::ZoneAssignmentEntry
 

Namespaces

namespace  PhosphorEngine
 

Typedefs

using PhosphorEngine::TilingStateKey = PlacementStateKey
 Backwards-compatible spelling for autotile's existing sources.
 

Enumerations

enum class  PhosphorEngine::SnapIntent { PhosphorEngine::UserInitiated , PhosphorEngine::AutoRestored }
 
enum class  PhosphorEngine::WindowKind : int { PhosphorEngine::Unknown = 0 , PhosphorEngine::Normal = 1 , PhosphorEngine::Transient = 2 }
 Coarse structural classification for the snap-restore consume gate. More...
 
enum class  PhosphorEngine::StickyWindowHandling { PhosphorEngine::TreatAsNormal = 0 , PhosphorEngine::RestoreOnly = 1 , PhosphorEngine::IgnoreAll = 2 }
 

Functions

size_t PhosphorEngine::qHash (const PlacementStateKey &key, size_t seed=0)
 
WindowKind PhosphorEngine::clampWindowKindFromWire (int wire)
 Clamp an integer wire value to a valid WindowKind.
 
constexpr QLatin1StringView PhosphorEngine::RestoreSentinel ("__restore__")