Struct
MetaBarrierEvent
Description
struct MetaBarrierEvent {
int event_id;
int dt;
guint32 time;
double x;
double y;
double dx;
double dy;
gboolean released;
gboolean grabbed;
}
No description available.
Structure members
event_idA unique integer ID identifying a consecutive series of motions at or along the barrier.
dtServer time, in milliseconds, since the last event sent for this barrier.
timeServer time, in milliseconds.
xThe cursor X position in screen coordinates.
yThe cursor Y position in screen coordinates.
dxIf the cursor hadn’t been constrained, the delta of X movement past the barrier, in screen coordinates.
dyIf the cursor hadn’t been constrained, the delta of X movement past the barrier, in screen coordinates.
releasedA boolean flag,
TRUEif this event generated by the pointer leaving the barrier as a result of a client callingmeta_barrier_release()(will be set only for MetaBarrier::leave signals).grabbedA boolean flag,
TRUEif the pointer was grabbed at the time this event was sent.