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_id

A unique integer ID identifying a consecutive series of motions at or along the barrier.

dt

Server time, in milliseconds, since the last event sent for this barrier.

time

Server time, in milliseconds.

x

The cursor X position in screen coordinates.

y

The cursor Y position in screen coordinates.

dx

If the cursor hadn’t been constrained, the delta of X movement past the barrier, in screen coordinates.

dy

If the cursor hadn’t been constrained, the delta of X movement past the barrier, in screen coordinates.

released

A boolean flag, TRUE if this event generated by the pointer leaving the barrier as a result of a client calling meta_barrier_release() (will be set only for MetaBarrier::leave signals).

grabbed

A boolean flag, TRUE if the pointer was grabbed at the time this event was sent.