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: int

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

dt: int

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

time: guint32

Server time, in milliseconds.

x: double

The cursor X position in screen coordinates.

y: double

The cursor Y position in screen coordinates.

dx: double

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

dy: double

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

released: gboolean

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: gboolean

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