7#include <PhosphorProtocol/phosphorprotocoltypes_export.h>
77 bool streamDragMoved =
false;
78 bool showOverlay =
false;
79 bool grabKeyboard =
false;
80 bool captureGeometry =
false;
81 bool immediateFloatOnStart =
false;
110 NotifyDragOutUnsnap = 5
126 bool skipAnimation =
false;
127 bool requestSnapAssist =
false;
132 return QRect(x, y, width, height);
D-Bus marshalling for the shared tiling-family value types (see AutotileTypes.h; the file names preda...
Definition AutotileMarshalling.h:19
constexpr int DragBypassReasonCount
Number of DragBypassReason values.
Definition DragTypes.h:51
PHOSPHORPROTOCOLTYPES_EXPORT DragBypassReason bypassReasonFromWireString(const QString &s)
Parse from the legacy wire-format string. Unknown values map to None.
PHOSPHORPROTOCOL_EXPORT QDBusArgument & operator<<(QDBusArgument &arg, const TileRequestEntry &e)
QList< EmptyZoneEntry > EmptyZoneList
Definition ZoneTypes.h:58
PHOSPHORPROTOCOLTYPES_EXPORT QString toWireString(DragBypassReason r)
Convert to the legacy wire-format string. Returns an empty QString for None.
DragBypassReason
Why a drag was bypassed from the canonical snap pipeline.
Definition DragTypes.h:34
@ SnappingDisabled
snap mode off globally — dead drag
@ LayoutSuppressed
screen has no zone layout (default assignment suppressed) — dead drag
@ EngineOwnedScreen
drag started/ended on a screen owned by a tiling-family engine (autotile or scrolling),...
@ None
canonical snap path — drag flows through the snap pipeline
@ ContextDisabled
monitor/desktop/activity excluded in settings — dead drag
Drag outcome — daemon-authoritative decision about what to apply at drag end.
Definition DragTypes.h:103
QString windowId
Definition DragTypes.h:119
EmptyZoneList emptyZones
candidate zones for snap assist (empty unless requestSnapAssist)
Definition DragTypes.h:128
QString targetScreenId
Definition DragTypes.h:120
Action
Definition DragTypes.h:104
QString zoneId
populated for ApplySnap
Definition DragTypes.h:125
QString validationError() const
Returns empty QString if valid, or a human-readable description of the invariant violation.
QRect toRect() const
Definition DragTypes.h:130
Drag policy — daemon-authoritative decision about how a drag should be handled.
Definition DragTypes.h:76
bool operator==(const DragPolicy &) const =default
Full structural equality.
QString screenId
screen the drag started/currently is on (virtual-screen-aware)
Definition DragTypes.h:82
QString validationError() const
Returns empty QString if valid, or a human-readable description of the invariant violation.