Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
WindowTypes.h File Reference
#include <PhosphorProtocol/phosphorprotocoltypes_export.h>
#include <QList>
#include <QMetaType>
#include <QRect>
#include <QString>
#include <QStringList>
#include <cstdlib>

Go to the source code of this file.

Classes

struct  PhosphorProtocol::WindowGeometryEntry
 D-Bus struct for batch geometry entries: (siiiis). More...
struct  PhosphorProtocol::SnapConfirmationEntry
 D-Bus struct for batch snap confirmation: (sssb). More...
struct  PhosphorProtocol::WindowOpenedEntry
 D-Bus struct for batch window-opened notification: (ssii). More...
struct  PhosphorProtocol::WindowStateEntry
 D-Bus struct for window state: (sssbsasb). More...
struct  PhosphorProtocol::UnfloatRestoreResult
 D-Bus struct for unfloat restore result: (bassiiii). More...
struct  PhosphorProtocol::OutputSettleRow
 One window in the effect's output-settle report, sent when a screen change settles that added or removed an output or deferred a crossing: (ssssbiiiiiiiiiiibbbbssiiibiiii). More...
struct  PhosphorProtocol::OutputSettleVerdict
 The daemon's answer for one OutputSettleRow: (sis). More...

Namespaces

namespace  PhosphorProtocol
 D-Bus marshalling for the shared tiling-family value types (see AutotileTypes.h; the file names predate the autotile-to-tiling generalization and are load-bearing across the build, so only the docs moved with the split).

Typedefs

using PhosphorProtocol::WindowGeometryList = QList<WindowGeometryEntry>
using PhosphorProtocol::SnapConfirmationList = QList<SnapConfirmationEntry>
using PhosphorProtocol::WindowOpenedList = QList<WindowOpenedEntry>
using PhosphorProtocol::WindowStateList = QList<WindowStateEntry>
using PhosphorProtocol::OutputSettleRowList = QList<OutputSettleRow>
using PhosphorProtocol::OutputSettleVerdictList = QList<OutputSettleVerdict>

Enumerations

enum class  PhosphorProtocol::PlacementPurpose : int { PhosphorProtocol::UserVerb = 0 , PhosphorProtocol::Restatement = 1 }
 Why the daemon asks the compositor to place a window, carried by WindowTracking.applyGeometryRequested. More...
enum class  PhosphorProtocol::ScreenDesktopSwitchPurpose : int { PhosphorProtocol::UserSwitch = 0 , PhosphorProtocol::Correction = 1 }
 Why the daemon asks the compositor to switch one output's virtual desktop, carried by WindowTracking.setScreenDesktopRequested. More...

Functions

PlacementPurpose PhosphorProtocol::clampPlacementPurposeFromWire (int wire)
 Clamp an integer wire value to a PlacementPurpose.
ScreenDesktopSwitchPurpose PhosphorProtocol::clampScreenDesktopSwitchPurposeFromWire (int wire)
 Clamp an integer wire value to a ScreenDesktopSwitchPurpose.

Variables

constexpr int PhosphorProtocol::MaxWireExtent = 100000
 Magnitude ceilings shared by every geometry-bearing wire struct.
constexpr int PhosphorProtocol::MaxWireOrigin = 1000000