KiCad PCB EDA Suite
Loading...
Searching...
No Matches
wayland-pointer-constraints-unstable-v1.h File Reference
#include <stdint.h>
#include <stddef.h>
#include "wayland-client.h"

Go to the source code of this file.

Classes

struct  zwp_locked_pointer_v1_listener
 
struct  zwp_confined_pointer_v1_listener
 

Macros

#define ZWP_POINTER_CONSTRAINTS_V1_INTERFACE
 
#define ZWP_LOCKED_POINTER_V1_INTERFACE
 
#define ZWP_CONFINED_POINTER_V1_INTERFACE
 
#define ZWP_POINTER_CONSTRAINTS_V1_ERROR_ENUM
 
#define ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ENUM
 
#define ZWP_POINTER_CONSTRAINTS_V1_DESTROY   0
 
#define ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER   1
 
#define ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER   2
 
#define ZWP_POINTER_CONSTRAINTS_V1_DESTROY_SINCE_VERSION   1
 
#define ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER_SINCE_VERSION   1
 
#define ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER_SINCE_VERSION   1
 
#define ZWP_LOCKED_POINTER_V1_DESTROY   0
 
#define ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT   1
 
#define ZWP_LOCKED_POINTER_V1_SET_REGION   2
 
#define ZWP_LOCKED_POINTER_V1_LOCKED_SINCE_VERSION   1
 
#define ZWP_LOCKED_POINTER_V1_UNLOCKED_SINCE_VERSION   1
 
#define ZWP_LOCKED_POINTER_V1_DESTROY_SINCE_VERSION   1
 
#define ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT_SINCE_VERSION   1
 
#define ZWP_LOCKED_POINTER_V1_SET_REGION_SINCE_VERSION   1
 
#define ZWP_CONFINED_POINTER_V1_DESTROY   0
 
#define ZWP_CONFINED_POINTER_V1_SET_REGION   1
 
#define ZWP_CONFINED_POINTER_V1_CONFINED_SINCE_VERSION   1
 
#define ZWP_CONFINED_POINTER_V1_UNCONFINED_SINCE_VERSION   1
 
#define ZWP_CONFINED_POINTER_V1_DESTROY_SINCE_VERSION   1
 
#define ZWP_CONFINED_POINTER_V1_SET_REGION_SINCE_VERSION   1
 

Enumerations

enum  zwp_pointer_constraints_v1_error { ZWP_POINTER_CONSTRAINTS_V1_ERROR_ALREADY_CONSTRAINED = 1 }
 wp_pointer_constraints error values More...
 
enum  zwp_pointer_constraints_v1_lifetime { ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ONESHOT = 1 , ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT = 2 }
 constraint lifetime More...
 

Functions

static void zwp_pointer_constraints_v1_set_user_data (struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1, void *user_data)
 
static void * zwp_pointer_constraints_v1_get_user_data (struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1)
 
static uint32_t zwp_pointer_constraints_v1_get_version (struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1)
 
static void zwp_pointer_constraints_v1_destroy (struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1)
 Used by the client to notify the server that it will no longer use this pointer constraints object.
 
static struct zwp_locked_pointer_v1 * zwp_pointer_constraints_v1_lock_pointer (struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1, struct wl_surface *surface, struct wl_pointer *pointer, struct wl_region *region, uint32_t lifetime)
 The lock_pointer request lets the client request to disable movements of the virtual pointer (i.e.
 
static struct zwp_confined_pointer_v1 * zwp_pointer_constraints_v1_confine_pointer (struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1, struct wl_surface *surface, struct wl_pointer *pointer, struct wl_region *region, uint32_t lifetime)
 The confine_pointer request lets the client request to confine the pointer cursor to a given region.
 
static int zwp_locked_pointer_v1_add_listener (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, const struct zwp_locked_pointer_v1_listener *listener, void *data)
 
static void zwp_locked_pointer_v1_set_user_data (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, void *user_data)
 
static void * zwp_locked_pointer_v1_get_user_data (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1)
 
static uint32_t zwp_locked_pointer_v1_get_version (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1)
 
static void zwp_locked_pointer_v1_destroy (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1)
 Destroy the locked pointer object.
 
static void zwp_locked_pointer_v1_set_cursor_position_hint (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, wl_fixed_t surface_x, wl_fixed_t surface_y)
 Set the cursor position hint relative to the top left corner of the surface.
 
static void zwp_locked_pointer_v1_set_region (struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, struct wl_region *region)
 Set a new region used to lock the pointer.
 
static int zwp_confined_pointer_v1_add_listener (struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1, const struct zwp_confined_pointer_v1_listener *listener, void *data)
 
static void zwp_confined_pointer_v1_set_user_data (struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1, void *user_data)
 
static void * zwp_confined_pointer_v1_get_user_data (struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1)
 
static uint32_t zwp_confined_pointer_v1_get_version (struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1)
 
static void zwp_confined_pointer_v1_destroy (struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1)
 Destroy the confined pointer object.
 
static void zwp_confined_pointer_v1_set_region (struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1, struct wl_region *region)
 Set a new region used to confine the pointer.
 

Variables

const struct wl_interface zwp_pointer_constraints_v1_interface
 
const struct wl_interface zwp_locked_pointer_v1_interface
 
const struct wl_interface zwp_confined_pointer_v1_interface
 

Macro Definition Documentation

◆ ZWP_CONFINED_POINTER_V1_DESTROY

#define ZWP_CONFINED_POINTER_V1_DESTROY   0

Definition at line 582 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_CONFINED_POINTER_V1_INTERFACE

#define ZWP_CONFINED_POINTER_V1_INTERFACE

Definition at line 179 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_CONFINED_POINTER_V1_SET_REGION

#define ZWP_CONFINED_POINTER_V1_SET_REGION   1

Definition at line 583 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_LOCKED_POINTER_V1_DESTROY

#define ZWP_LOCKED_POINTER_V1_DESTROY   0

Definition at line 445 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_LOCKED_POINTER_V1_INTERFACE

#define ZWP_LOCKED_POINTER_V1_INTERFACE

Definition at line 118 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT

#define ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT   1

Definition at line 446 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_LOCKED_POINTER_V1_SET_REGION

#define ZWP_LOCKED_POINTER_V1_SET_REGION   2

Definition at line 447 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER

#define ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER   2

Definition at line 277 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_POINTER_CONSTRAINTS_V1_DESTROY

#define ZWP_POINTER_CONSTRAINTS_V1_DESTROY   0

Definition at line 275 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_POINTER_CONSTRAINTS_V1_ERROR_ENUM

#define ZWP_POINTER_CONSTRAINTS_V1_ERROR_ENUM

Definition at line 227 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_POINTER_CONSTRAINTS_V1_INTERFACE

#define ZWP_POINTER_CONSTRAINTS_V1_INTERFACE

Definition at line 77 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ENUM

#define ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ENUM

Definition at line 244 of file wayland-pointer-constraints-unstable-v1.h.

◆ ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER

#define ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER   1

Definition at line 276 of file wayland-pointer-constraints-unstable-v1.h.

Function Documentation

◆ zwp_confined_pointer_v1_get_version()

static uint32_t zwp_confined_pointer_v1_get_version ( struct zwp_confined_pointer_v1 *  zwp_confined_pointer_v1)
inlinestatic

Definition at line 618 of file wayland-pointer-constraints-unstable-v1.h.

◆ zwp_locked_pointer_v1_get_version()

static uint32_t zwp_locked_pointer_v1_get_version ( struct zwp_locked_pointer_v1 *  zwp_locked_pointer_v1)
inlinestatic

Definition at line 486 of file wayland-pointer-constraints-unstable-v1.h.

◆ zwp_pointer_constraints_v1_get_version()

static uint32_t zwp_pointer_constraints_v1_get_version ( struct zwp_pointer_constraints_v1 *  zwp_pointer_constraints_v1)
inlinestatic

Definition at line 308 of file wayland-pointer-constraints-unstable-v1.h.

Variable Documentation

◆ zwp_confined_pointer_v1_interface

const struct wl_interface zwp_confined_pointer_v1_interface
extern

◆ zwp_locked_pointer_v1_interface

const struct wl_interface zwp_locked_pointer_v1_interface
extern

◆ zwp_pointer_constraints_v1_interface

const struct wl_interface zwp_pointer_constraints_v1_interface
extern