7#include <PhosphorProtocol/phosphorprotocoltypes_export.h>
59 bool streamDragMoved =
false;
60 bool showOverlay =
false;
61 bool grabKeyboard =
false;
62 bool captureGeometry =
false;
63 bool immediateFloatOnStart =
false;
92 NotifyDragOutUnsnap = 5
103 bool skipAnimation =
false;
104 bool requestSnapAssist =
false;
109 return QRect(x, y, width, height);
D-Bus marshalling for the autotile value types (see AutotileTypes.h).
Definition AutotileMarshalling.h:16
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:29
@ SnappingDisabled
snap mode off globally — dead drag
@ None
canonical snap path — drag flows through the snap pipeline
@ AutotileScreen
drag started/ended on an autotile screen — engine owns placement
@ ContextDisabled
monitor/desktop/activity excluded in settings — dead drag
Drag outcome — daemon-authoritative decision about what to apply at drag end.
Definition DragTypes.h:85
QString windowId
Definition DragTypes.h:96
EmptyZoneList emptyZones
candidate zones for snap assist (empty unless requestSnapAssist)
Definition DragTypes.h:105
QString targetScreenId
Definition DragTypes.h:97
Action
Definition DragTypes.h:86
QString zoneId
populated for ApplySnap
Definition DragTypes.h:102
QString validationError() const
Returns empty QString if valid, or a human-readable description of the invariant violation.
QRect toRect() const
Definition DragTypes.h:107
Drag policy — daemon-authoritative decision about how a drag should be handled.
Definition DragTypes.h:58
bool operator==(const DragPolicy &) const =default
Full structural equality.
QString screenId
screen the drag started/currently is on (virtual-screen-aware)
Definition DragTypes.h:64
QString validationError() const
Returns empty QString if valid, or a human-readable description of the invariant violation.