Method

XdpSessiontouch_position

Declaration [src]

void
xdp_session_touch_position (
  XdpSession* session,
  guint stream,
  guint slot,
  double x,
  double y
)

Description [src]

Notify about a new touch motion event.

The (x, y) position represents where the touch point position in the streams logical coordinate space moved.

May only be called on a remote desktop session with XDP_DEVICE_TOUCHSCREEN access.

Parameters

stream guint
 

The node ID of the pipewire stream the position is relative to.

slot guint
 

Touch slot that is changing position.

x double
 

New X position.

y double
 

New Y position.