April 24, 2024

Dynamic Windows Function [dw_pointer_query_pos]

Syntax

void dw_pointer_query_pos(long *x, long *y)

Parameters

long *x: Pointer to variable to store X coordinate or NULL.
long *y: Pointer to variable to store Y coordinate or NULL.

Description

Returns the current X and Y coordinates of the mouse pointer.

Remarks

As of version 3.2, this function does nothing on iOS, Android and GTK3/4 using Wayland.