Documentation for <wlr/types/wlr_pointer_warp_v1.h>

Back to index

Table of contents

struct wlr_pointer_warp_v1

struct wlr_pointer_warp_v1 {
	struct wl_global *global;
	
	struct {
		struct wl_signal destroy;
		struct wl_signal warp; // struct wlr_pointer_warp_v1_event_warp
	} events;
	
	void *data;
	
	struct {
		struct wl_listener display_destroy;
	} WLR_PRIVATE;
};

wlr_pointer_warp_v1_create()

struct wlr_pointer_warp_v1 *wlr_pointer_warp_v1_create(​struct wl_display *display, uint32_t version);

struct wlr_pointer_warp_v1_event_warp

struct wlr_pointer_warp_v1_event_warp {
	struct wlr_surface *surface;
	struct wlr_seat_client *seat_client;
	double x, y;
	uint32_t serial;
};