Method
PhocCursorset_image
Declaration [src]
void
phoc_cursor_set_image (
PhocCursor* self,
wl_client* client,
wlr_surface* surface,
int32_t hotspot_x,
int32_t hotspot_y
)
Description [src]
Set the cursor image via a surface. To use an image from the cursor
theme see phoc_cursor_set_image().
Parameters
client-
Type:
wl_client*The client to set the image force.
The argument can be NULL.The data is owned by the caller of the method. surface-
Type:
wlr_surface*The image surface to use.
The argument can be NULL.The data is owned by the caller of the method. hotspot_x-
Type:
int32_tThe x coordinate of the hotspot on the surface.
hotspot_y-
Type:
int32_tThe y coordinate of the hotspot on the surface.