xdg-shell-unstable-v6-client-protocol.h File Reference
`#include <stdint.h>`
`#include <stddef.h>`
`#include "wayland-client.h"`
Include dependency graph for xdg-shell-unstable-v6-client-protocol.h:

Go to the source code of this file.

## Data Structures

struct | zxdg_shell_v6_listener
struct | zxdg_surface_v6_listener
struct | zxdg_toplevel_v6_listener
struct | zxdg_popup_v6_listener

## Macros

#define | ZXDG_SHELL_V6_ERROR_ENUM
#define | ZXDG_SHELL_V6_DESTROY 0
#define | ZXDG_SHELL_V6_CREATE_POSITIONER 1
#define | ZXDG_SHELL_V6_GET_XDG_SURFACE 2
#define | ZXDG_SHELL_V6_PONG 3
#define | ZXDG_SHELL_V6_PING_SINCE_VERSION 1
#define | ZXDG_SHELL_V6_DESTROY_SINCE_VERSION 1
#define | ZXDG_SHELL_V6_CREATE_POSITIONER_SINCE_VERSION 1
#define | ZXDG_SHELL_V6_GET_XDG_SURFACE_SINCE_VERSION 1
#define | ZXDG_SHELL_V6_PONG_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_ERROR_ENUM
#define | ZXDG_POSITIONER_V6_ANCHOR_ENUM
#define | ZXDG_POSITIONER_V6_GRAVITY_ENUM
#define | ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_ENUM
#define | ZXDG_POSITIONER_V6_DESTROY 0
#define | ZXDG_POSITIONER_V6_SET_SIZE 1
#define | ZXDG_POSITIONER_V6_SET_ANCHOR_RECT 2
#define | ZXDG_POSITIONER_V6_SET_ANCHOR 3
#define | ZXDG_POSITIONER_V6_SET_GRAVITY 4
#define | ZXDG_POSITIONER_V6_SET_CONSTRAINT_ADJUSTMENT 5
#define | ZXDG_POSITIONER_V6_SET_OFFSET 6
#define | ZXDG_POSITIONER_V6_DESTROY_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_SET_SIZE_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_SET_ANCHOR_RECT_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_SET_ANCHOR_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_SET_GRAVITY_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_SET_CONSTRAINT_ADJUSTMENT_SINCE_VERSION 1
#define | ZXDG_POSITIONER_V6_SET_OFFSET_SINCE_VERSION 1
#define | ZXDG_SURFACE_V6_ERROR_ENUM
#define | ZXDG_SURFACE_V6_DESTROY 0
#define | ZXDG_SURFACE_V6_GET_TOPLEVEL 1
#define | ZXDG_SURFACE_V6_GET_POPUP 2
#define | ZXDG_SURFACE_V6_SET_WINDOW_GEOMETRY 3
#define | ZXDG_SURFACE_V6_ACK_CONFIGURE 4
#define | ZXDG_SURFACE_V6_CONFIGURE_SINCE_VERSION 1
#define | ZXDG_SURFACE_V6_DESTROY_SINCE_VERSION 1
#define | ZXDG_SURFACE_V6_GET_TOPLEVEL_SINCE_VERSION 1
#define | ZXDG_SURFACE_V6_GET_POPUP_SINCE_VERSION 1
#define | ZXDG_SURFACE_V6_SET_WINDOW_GEOMETRY_SINCE_VERSION 1
#define | ZXDG_SURFACE_V6_ACK_CONFIGURE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_RESIZE_EDGE_ENUM
#define | ZXDG_TOPLEVEL_V6_STATE_ENUM
#define | ZXDG_TOPLEVEL_V6_DESTROY 0
#define | ZXDG_TOPLEVEL_V6_SET_PARENT 1
#define | ZXDG_TOPLEVEL_V6_SET_TITLE 2
#define | ZXDG_TOPLEVEL_V6_SET_APP_ID 3
#define | ZXDG_TOPLEVEL_V6_SHOW_WINDOW_MENU 4
#define | ZXDG_TOPLEVEL_V6_MOVE 5
#define | ZXDG_TOPLEVEL_V6_RESIZE 6
#define | ZXDG_TOPLEVEL_V6_SET_MAX_SIZE 7
#define | ZXDG_TOPLEVEL_V6_SET_MIN_SIZE 8
#define | ZXDG_TOPLEVEL_V6_SET_MAXIMIZED 9
#define | ZXDG_TOPLEVEL_V6_UNSET_MAXIMIZED 10
#define | ZXDG_TOPLEVEL_V6_SET_FULLSCREEN 11
#define | ZXDG_TOPLEVEL_V6_UNSET_FULLSCREEN 12
#define | ZXDG_TOPLEVEL_V6_SET_MINIMIZED 13
#define | ZXDG_TOPLEVEL_V6_CONFIGURE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_CLOSE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_DESTROY_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_PARENT_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_TITLE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_APP_ID_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SHOW_WINDOW_MENU_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_MOVE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_RESIZE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_MAX_SIZE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_MIN_SIZE_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_MAXIMIZED_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_UNSET_MAXIMIZED_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_FULLSCREEN_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_UNSET_FULLSCREEN_SINCE_VERSION 1
#define | ZXDG_TOPLEVEL_V6_SET_MINIMIZED_SINCE_VERSION 1
#define | ZXDG_POPUP_V6_ERROR_ENUM
#define | ZXDG_POPUP_V6_DESTROY 0
#define | ZXDG_POPUP_V6_GRAB 1
#define | ZXDG_POPUP_V6_CONFIGURE_SINCE_VERSION 1
#define | ZXDG_POPUP_V6_POPUP_DONE_SINCE_VERSION 1
#define | ZXDG_POPUP_V6_DESTROY_SINCE_VERSION 1
#define | ZXDG_POPUP_V6_GRAB_SINCE_VERSION 1

## Enumerations

enum | zxdg_shell_v6_error { ZXDG_SHELL_V6_ERROR_ROLE = 0, ZXDG_SHELL_V6_ERROR_DEFUNCT_SURFACES = 1, ZXDG_SHELL_V6_ERROR_NOT_THE_TOPMOST_POPUP = 2, ZXDG_SHELL_V6_ERROR_INVALID_POPUP_PARENT = 3, ZXDG_SHELL_V6_ERROR_INVALID_SURFACE_STATE = 4, ZXDG_SHELL_V6_ERROR_INVALID_POSITIONER = 5 }
enum | zxdg_positioner_v6_error { ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT = 0 }
enum | zxdg_positioner_v6_anchor { ZXDG_POSITIONER_V6_ANCHOR_NONE = 0, ZXDG_POSITIONER_V6_ANCHOR_TOP = 1, ZXDG_POSITIONER_V6_ANCHOR_BOTTOM = 2, ZXDG_POSITIONER_V6_ANCHOR_LEFT = 4, ZXDG_POSITIONER_V6_ANCHOR_RIGHT = 8 }
enum | zxdg_positioner_v6_gravity { ZXDG_POSITIONER_V6_GRAVITY_NONE = 0, ZXDG_POSITIONER_V6_GRAVITY_TOP = 1, ZXDG_POSITIONER_V6_GRAVITY_BOTTOM = 2, ZXDG_POSITIONER_V6_GRAVITY_LEFT = 4, ZXDG_POSITIONER_V6_GRAVITY_RIGHT = 8 }

enum

zxdg_positioner_v6_constraint_adjustment {
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_NONE = 0,
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_SLIDE_X = 1,
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_SLIDE_Y = 2,
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_FLIP_X = 4,
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_FLIP_Y = 8,
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_RESIZE_X = 16,
ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_RESIZE_Y = 32
}

enum | zxdg_surface_v6_error { ZXDG_SURFACE_V6_ERROR_NOT_CONSTRUCTED = 1, ZXDG_SURFACE_V6_ERROR_ALREADY_CONSTRUCTED = 2, ZXDG_SURFACE_V6_ERROR_UNCONFIGURED_BUFFER = 3 }

enum

zxdg_toplevel_v6_resize_edge {
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_NONE = 0,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_TOP = 1,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_BOTTOM = 2,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_LEFT = 4,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_TOP_LEFT = 5,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_BOTTOM_LEFT = 6,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_RIGHT = 8,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_TOP_RIGHT = 9,
ZXDG_TOPLEVEL_V6_RESIZE_EDGE_BOTTOM_RIGHT = 10
}

enum | zxdg_toplevel_v6_state { ZXDG_TOPLEVEL_V6_STATE_MAXIMIZED = 1, ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN = 2, ZXDG_TOPLEVEL_V6_STATE_RESIZING = 3, ZXDG_TOPLEVEL_V6_STATE_ACTIVATED = 4 }
enum | zxdg_popup_v6_error { ZXDG_POPUP_V6_ERROR_INVALID_GRAB = 0 }

## Functions

static int | zxdg_shell_v6_add_listener (struct zxdg_shell_v6 *zxdg_shell_v6, const struct zxdg_shell_v6_listener *listener, void *data)
static void | zxdg_shell_v6_set_user_data (struct zxdg_shell_v6 *zxdg_shell_v6, void *user_data)
static void * | zxdg_shell_v6_get_user_data (struct zxdg_shell_v6 *zxdg_shell_v6)
static uint32_t | zxdg_shell_v6_get_version (struct zxdg_shell_v6 *zxdg_shell_v6)
static void | zxdg_shell_v6_destroy (struct zxdg_shell_v6 *zxdg_shell_v6)
static struct zxdg_positioner_v6 * | zxdg_shell_v6_create_positioner (struct zxdg_shell_v6 *zxdg_shell_v6)
static struct zxdg_surface_v6 * | zxdg_shell_v6_get_xdg_surface (struct zxdg_shell_v6 *zxdg_shell_v6, struct wl_surface *surface)
static void | zxdg_shell_v6_pong (struct zxdg_shell_v6 *zxdg_shell_v6, uint32_t serial)
static void | zxdg_positioner_v6_set_user_data (struct zxdg_positioner_v6 *zxdg_positioner_v6, void *user_data)
static void * | zxdg_positioner_v6_get_user_data (struct zxdg_positioner_v6 *zxdg_positioner_v6)
static uint32_t | zxdg_positioner_v6_get_version (struct zxdg_positioner_v6 *zxdg_positioner_v6)
static void | zxdg_positioner_v6_destroy (struct zxdg_positioner_v6 *zxdg_positioner_v6)
static void | zxdg_positioner_v6_set_size (struct zxdg_positioner_v6 *zxdg_positioner_v6, int32_t width, int32_t height)
static void | zxdg_positioner_v6_set_anchor_rect (struct zxdg_positioner_v6 *zxdg_positioner_v6, int32_t x, int32_t y, int32_t width, int32_t height)
static void | zxdg_positioner_v6_set_anchor (struct zxdg_positioner_v6 *zxdg_positioner_v6, uint32_t anchor)
static void | zxdg_positioner_v6_set_gravity (struct zxdg_positioner_v6 *zxdg_positioner_v6, uint32_t gravity)
static void | zxdg_positioner_v6_set_constraint_adjustment (struct zxdg_positioner_v6 *zxdg_positioner_v6, uint32_t constraint_adjustment)
static void | zxdg_positioner_v6_set_offset (struct zxdg_positioner_v6 *zxdg_positioner_v6, int32_t x, int32_t y)
static int | zxdg_surface_v6_add_listener (struct zxdg_surface_v6 *zxdg_surface_v6, const struct zxdg_surface_v6_listener *listener, void *data)
static void | zxdg_surface_v6_set_user_data (struct zxdg_surface_v6 *zxdg_surface_v6, void *user_data)
static void * | zxdg_surface_v6_get_user_data (struct zxdg_surface_v6 *zxdg_surface_v6)
static uint32_t | zxdg_surface_v6_get_version (struct zxdg_surface_v6 *zxdg_surface_v6)
static void | zxdg_surface_v6_destroy (struct zxdg_surface_v6 *zxdg_surface_v6)
static struct zxdg_toplevel_v6 * | zxdg_surface_v6_get_toplevel (struct zxdg_surface_v6 *zxdg_surface_v6)
static struct zxdg_popup_v6 * | zxdg_surface_v6_get_popup (struct zxdg_surface_v6 *zxdg_surface_v6, struct zxdg_surface_v6 *parent, struct zxdg_positioner_v6 *positioner)
static void | zxdg_surface_v6_set_window_geometry (struct zxdg_surface_v6 *zxdg_surface_v6, int32_t x, int32_t y, int32_t width, int32_t height)
static void | zxdg_surface_v6_ack_configure (struct zxdg_surface_v6 *zxdg_surface_v6, uint32_t serial)
static int | zxdg_toplevel_v6_add_listener (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, const struct zxdg_toplevel_v6_listener *listener, void *data)
static void | zxdg_toplevel_v6_set_user_data (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, void *user_data)
static void * | zxdg_toplevel_v6_get_user_data (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static uint32_t | zxdg_toplevel_v6_get_version (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static void | zxdg_toplevel_v6_destroy (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static void | zxdg_toplevel_v6_set_parent (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, struct zxdg_toplevel_v6 *parent)
static void | zxdg_toplevel_v6_set_title (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, const char *title)
static void | zxdg_toplevel_v6_set_app_id (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, const char *app_id)
static void | zxdg_toplevel_v6_show_window_menu (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, struct wl_seat *seat, uint32_t serial, int32_t x, int32_t y)
static void | zxdg_toplevel_v6_move (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, struct wl_seat *seat, uint32_t serial)
static void | zxdg_toplevel_v6_resize (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, struct wl_seat *seat, uint32_t serial, uint32_t edges)
static void | zxdg_toplevel_v6_set_max_size (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, int32_t width, int32_t height)
static void | zxdg_toplevel_v6_set_min_size (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, int32_t width, int32_t height)
static void | zxdg_toplevel_v6_set_maximized (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static void | zxdg_toplevel_v6_unset_maximized (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static void | zxdg_toplevel_v6_set_fullscreen (struct zxdg_toplevel_v6 *zxdg_toplevel_v6, struct wl_output *output)
static void | zxdg_toplevel_v6_unset_fullscreen (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static void | zxdg_toplevel_v6_set_minimized (struct zxdg_toplevel_v6 *zxdg_toplevel_v6)
static int | zxdg_popup_v6_add_listener (struct zxdg_popup_v6 *zxdg_popup_v6, const struct zxdg_popup_v6_listener *listener, void *data)
static void | zxdg_popup_v6_set_user_data (struct zxdg_popup_v6 *zxdg_popup_v6, void *user_data)
static void * | zxdg_popup_v6_get_user_data (struct zxdg_popup_v6 *zxdg_popup_v6)
static uint32_t | zxdg_popup_v6_get_version (struct zxdg_popup_v6 *zxdg_popup_v6)
static void | zxdg_popup_v6_destroy (struct zxdg_popup_v6 *zxdg_popup_v6)
static void | zxdg_popup_v6_grab (struct zxdg_popup_v6 *zxdg_popup_v6, struct wl_seat *seat, uint32_t serial)

## Variables

const struct wl_interface | zxdg_shell_v6_interface
const struct wl_interface | zxdg_positioner_v6_interface
const struct wl_interface | zxdg_surface_v6_interface
const struct wl_interface | zxdg_toplevel_v6_interface
const struct wl_interface | zxdg_popup_v6_interface

## Macro Definition Documentation

## ZXDG_POPUP_V6_DESTROY

#define ZXDG_POPUP_V6_DESTROY 0

Definition at line 1635 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POPUP_V6_ERROR_ENUM

#define ZXDG_POPUP_V6_ERROR_ENUM

Definition at line 1578 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POPUP_V6_GRAB

#define ZXDG_POPUP_V6_GRAB 1

Definition at line 1636 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_ANCHOR_ENUM

#define ZXDG_POSITIONER_V6_ANCHOR_ENUM

Definition at line 503 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_ENUM

#define ZXDG_POSITIONER_V6_CONSTRAINT_ADJUSTMENT_ENUM

Definition at line 555 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_DESTROY

#define ZXDG_POSITIONER_V6_DESTROY 0

Definition at line 573 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_ERROR_ENUM

#define ZXDG_POSITIONER_V6_ERROR_ENUM

Definition at line 493 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_GRAVITY_ENUM

#define ZXDG_POSITIONER_V6_GRAVITY_ENUM

Definition at line 529 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_SET_ANCHOR

#define ZXDG_POSITIONER_V6_SET_ANCHOR 3

Definition at line 576 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_SET_ANCHOR_RECT

#define ZXDG_POSITIONER_V6_SET_ANCHOR_RECT 2

Definition at line 575 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_SET_CONSTRAINT_ADJUSTMENT

#define ZXDG_POSITIONER_V6_SET_CONSTRAINT_ADJUSTMENT 5

Definition at line 578 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_SET_GRAVITY

#define ZXDG_POSITIONER_V6_SET_GRAVITY 4

Definition at line 577 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_SET_OFFSET

#define ZXDG_POSITIONER_V6_SET_OFFSET 6

Definition at line 579 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_POSITIONER_V6_SET_SIZE

#define ZXDG_POSITIONER_V6_SET_SIZE 1

Definition at line 574 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SHELL_V6_CREATE_POSITIONER

#define ZXDG_SHELL_V6_CREATE_POSITIONER 1

Definition at line 371 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SHELL_V6_DESTROY

#define ZXDG_SHELL_V6_DESTROY 0

Definition at line 370 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SHELL_V6_ERROR_ENUM

#define ZXDG_SHELL_V6_ERROR_ENUM

Definition at line 303 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SHELL_V6_GET_XDG_SURFACE

#define ZXDG_SHELL_V6_GET_XDG_SURFACE 2

Definition at line 372 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SHELL_V6_PONG

#define ZXDG_SHELL_V6_PONG 3

Definition at line 373 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SURFACE_V6_ACK_CONFIGURE

#define ZXDG_SURFACE_V6_ACK_CONFIGURE 4

Definition at line 827 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SURFACE_V6_DESTROY

#define ZXDG_SURFACE_V6_DESTROY 0

Definition at line 823 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SURFACE_V6_ERROR_ENUM

#define ZXDG_SURFACE_V6_ERROR_ENUM

Definition at line 770 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SURFACE_V6_GET_POPUP

#define ZXDG_SURFACE_V6_GET_POPUP 2

Definition at line 825 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SURFACE_V6_GET_TOPLEVEL

#define ZXDG_SURFACE_V6_GET_TOPLEVEL 1

Definition at line 824 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_SURFACE_V6_SET_WINDOW_GEOMETRY

#define ZXDG_SURFACE_V6_SET_WINDOW_GEOMETRY 3

Definition at line 826 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_DESTROY

#define ZXDG_TOPLEVEL_V6_DESTROY 0

Definition at line 1109 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_MOVE

#define ZXDG_TOPLEVEL_V6_MOVE 5

Definition at line 1114 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_RESIZE

#define ZXDG_TOPLEVEL_V6_RESIZE 6

Definition at line 1115 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_RESIZE_EDGE_ENUM

#define ZXDG_TOPLEVEL_V6_RESIZE_EDGE_ENUM

Definition at line 996 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_APP_ID

#define ZXDG_TOPLEVEL_V6_SET_APP_ID 3

Definition at line 1112 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_FULLSCREEN

#define ZXDG_TOPLEVEL_V6_SET_FULLSCREEN 11

Definition at line 1120 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_MAX_SIZE

#define ZXDG_TOPLEVEL_V6_SET_MAX_SIZE 7

Definition at line 1116 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_MAXIMIZED

#define ZXDG_TOPLEVEL_V6_SET_MAXIMIZED 9

Definition at line 1118 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_MIN_SIZE

#define ZXDG_TOPLEVEL_V6_SET_MIN_SIZE 8

Definition at line 1117 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_MINIMIZED

#define ZXDG_TOPLEVEL_V6_SET_MINIMIZED 13

Definition at line 1122 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_PARENT

#define ZXDG_TOPLEVEL_V6_SET_PARENT 1

Definition at line 1110 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SET_TITLE

#define ZXDG_TOPLEVEL_V6_SET_TITLE 2

Definition at line 1111 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_SHOW_WINDOW_MENU

#define ZXDG_TOPLEVEL_V6_SHOW_WINDOW_MENU 4

Definition at line 1113 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_STATE_ENUM

#define ZXDG_TOPLEVEL_V6_STATE_ENUM

Definition at line 1018 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_UNSET_FULLSCREEN

#define ZXDG_TOPLEVEL_V6_UNSET_FULLSCREEN 12

Definition at line 1121 of file xdg-shell-unstable-v6-client-protocol.h.

## ZXDG_TOPLEVEL_V6_UNSET_MAXIMIZED

#define ZXDG_TOPLEVEL_V6_UNSET_MAXIMIZED 10

Definition at line 1119 of file xdg-shell-unstable-v6-client-protocol.h.

## Enumeration Type Documentation

## zxdg_popup_v6_error

enum zxdg_popup_v6_error

Enumerator
ZXDG_POPUP_V6_ERROR_INVALID_GRAB | tried to grab after being mapped

Definition at line 1579 of file xdg-shell-unstable-v6-client-protocol.h.

{
/**
* tried to grab after being mapped
*/
ZXDG_POPUP_V6_ERROR_INVALID_GRAB = 0,
};

## zxdg_positioner_v6_anchor

enum zxdg_positioner_v6_anchor

Enumerator
ZXDG_POSITIONER_V6_ANCHOR_NONE | the center of the anchor rectangle
ZXDG_POSITIONER_V6_ANCHOR_TOP | the top edge of the anchor rectangle
ZXDG_POSITIONER_V6_ANCHOR_BOTTOM | the bottom edge of the anchor rectangle
ZXDG_POSITIONER_V6_ANCHOR_LEFT | the left edge of the anchor rectangle
ZXDG_POSITIONER_V6_ANCHOR_RIGHT | the right edge of the anchor rectangle

Definition at line 504 of file xdg-shell-unstable-v6-client-protocol.h.

{
/**
* the center of the anchor rectangle
*/
ZXDG_POSITIONER_V6_ANCHOR_NONE = 0,
/**
* the top edge of the anchor rectangle
*/
ZXDG_POSITIONER_V6_ANCHOR_TOP = 1,
/**
* the bottom edge of the anchor rectangle
*/
ZXDG_POSITIONER_V6_ANCHOR_BOTTOM = 2,
/**
* the left edge of the anchor rectangle
*/
ZXDG_POSITIONER_V6_ANCHOR_LEFT = 4,
/**
* the right edge of the anchor rectangle
*/
ZXDG_POSITIONER_V6_ANCHOR_RIGHT = 8,
};

## zxdg_positioner_v6_error

enum zxdg_positioner_v6_error

Enumerator
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT | invalid input provided

Definition at line 494 of file xdg-shell-unstable-v6-client-protocol.h.

{
/**
* invalid input provided
*/
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT = 0,
};

## zxdg_positioner_v6_gravity

enum zxdg_positioner_v6_gravity

Enumerator
ZXDG_POSITIONER_V6_GRAVITY_NONE | center over the anchor edge
ZXDG_POSITIONER_V6_GRAVITY_TOP | position above the anchor edge
ZXDG_POSITIONER_V6_GRAVITY_BOTTOM | position below the anchor edge
ZXDG_POSITIONER_V6_GRAVITY_LEFT | position to the left of the anchor edge
ZXDG_POSITIONER_V6_GRAVITY_RIGHT | position to the right of the anchor edge

Definition at line 530 of file xdg-shell-unstable-v6-client-protocol.h.

{
/**
* center over the anchor edge
*/
ZXDG_POSITIONER_V6_GRAVITY_NONE = 0,
/**
* position above the anchor edge
*/
ZXDG_POSITIONER_V6_GRAVITY_TOP = 1,
/**
* position below the anchor edge
*/
ZXDG_POSITIONER_V6_GRAVITY_BOTTOM = 2,
/**
* position to the left of the anchor edge
*/
ZXDG_POSITIONER_V6_GRAVITY_LEFT = 4,
/**
* position to the right of the anchor edge
*/
ZXDG_POSITIONER_V6_GRAVITY_RIGHT = 8,
};

## zxdg_shell_v6_error

enum zxdg_shell_v6_error

Enumerator
ZXDG_SHELL_V6_ERROR_ROLE | given wl_surface has another role
ZXDG_SHELL_V6_ERROR_DEFUNCT_SURFACES | xdg_shell was destroyed before children
ZXDG_SHELL_V6_ERROR_NOT_THE_TOPMOST_POPUP | the client tried to map or destroy a non-topmost popup
ZXDG_SHELL_V6_ERROR_INVALID_POPUP_PARENT | the client specified an invalid popup parent surface
ZXDG_SHELL_V6_ERROR_INVALID_SURFACE_STATE | the client provided an invalid surface state
ZXDG_SHELL_V6_ERROR_INVALID_POSITIONER | the client provided an invalid positioner

Definition at line 304 of file xdg-shell-unstable-v6-client-protocol.h.

{
/**
* given wl_surface has another role
*/
ZXDG_SHELL_V6_ERROR_ROLE = 0,
/**
* xdg_shell was destroyed before children
*/
ZXDG_SHELL_V6_ERROR_DEFUNCT_SURFACES = 1,
/**
* the client tried to map or destroy a non-topmost popup
*/
ZXDG_SHELL_V6_ERROR_NOT_THE_TOPMOST_POPUP = 2,
/**
* the client specified an invalid popup parent surface
*/
ZXDG_SHELL_V6_ERROR_INVALID_POPUP_PARENT = 3,
/**
* the client provided an invalid surface state
*/
ZXDG_SHELL_V6_ERROR_INVALID_SURFACE_STATE = 4,
/**
* the client provided an invalid positioner
*/
ZXDG_SHELL_V6_ERROR_INVALID_POSITIONER = 5,
};

## zxdg_surface_v6_error

enum zxdg_surface_v6_error

Enumerator
ZXDG_SURFACE_V6_ERROR_NOT_CONSTRUCTED |
ZXDG_SURFACE_V6_ERROR_ALREADY_CONSTRUCTED |
ZXDG_SURFACE_V6_ERROR_UNCONFIGURED_BUFFER |

Definition at line 771 of file xdg-shell-unstable-v6-client-protocol.h.

{
ZXDG_SURFACE_V6_ERROR_NOT_CONSTRUCTED = 1,
ZXDG_SURFACE_V6_ERROR_ALREADY_CONSTRUCTED = 2,
ZXDG_SURFACE_V6_ERROR_UNCONFIGURED_BUFFER = 3,
};

## Function Documentation

## zxdg_popup_v6_get_version()

static uint32_t zxdg_popup_v6_get_version | ( | struct zxdg_popup_v6 * | zxdg_popup_v6 | ) |

inline static

Definition at line 1671 of file xdg-shell-unstable-v6-client-protocol.h.

{
return wl_proxy_get_version((struct wl_proxy *) zxdg_popup_v6);
}

## zxdg_positioner_v6_get_version()

static uint32_t zxdg_positioner_v6_get_version | ( | struct zxdg_positioner_v6 * | zxdg_positioner_v6 | ) |

inline static

Definition at line 626 of file xdg-shell-unstable-v6-client-protocol.h.

{
return wl_proxy_get_version((struct wl_proxy *) zxdg_positioner_v6);
}

## zxdg_shell_v6_get_version()

static uint32_t zxdg_shell_v6_get_version | ( | struct zxdg_shell_v6 * | zxdg_shell_v6 | ) |

inline static

Definition at line 412 of file xdg-shell-unstable-v6-client-protocol.h.

{
return wl_proxy_get_version((struct wl_proxy *) zxdg_shell_v6);
}

## zxdg_surface_v6_get_version()

static uint32_t zxdg_surface_v6_get_version | ( | struct zxdg_surface_v6 * | zxdg_surface_v6 | ) |

inline static

Definition at line 870 of file xdg-shell-unstable-v6-client-protocol.h.

{
return wl_proxy_get_version((struct wl_proxy *) zxdg_surface_v6);
}

## zxdg_toplevel_v6_get_version()

static uint32_t zxdg_toplevel_v6_get_version | ( | struct zxdg_toplevel_v6 * | zxdg_toplevel_v6 | ) |

inline static

Definition at line 1205 of file xdg-shell-unstable-v6-client-protocol.h.

{
return wl_proxy_get_version((struct wl_proxy *) zxdg_toplevel_v6);
}

## Variable Documentation

## zxdg_popup_v6_interface

WL_EXPORT const struct wl_interface zxdg_popup_v6_interface

Initial value:
= {
"zxdg_popup_v6", 1,
2, zxdg_popup_v6_requests,
2, zxdg_popup_v6_events,
}

Definition at line 157 of file xdg-shell-unstable-v6-protocol.c.

Referenced by zxdg_surface_v6_get_popup().

## zxdg_positioner_v6_interface

WL_EXPORT const struct wl_interface zxdg_positioner_v6_interface

Initial value:
= {
"zxdg_positioner_v6", 1,
7, zxdg_positioner_v6_requests,
0, NULL,
}

Definition at line 95 of file xdg-shell-unstable-v6-protocol.c.

Referenced by zxdg_shell_v6_create_positioner().

## zxdg_shell_v6_interface

const struct wl_interface zxdg_shell_v6_interface

Definition at line 79 of file xdg-shell-unstable-v6-protocol.c.

## zxdg_surface_v6_interface

WL_EXPORT const struct wl_interface zxdg_surface_v6_interface

Initial value:
= {
"zxdg_surface_v6", 1,
5, zxdg_surface_v6_requests,
1, zxdg_surface_v6_events,
}

Definition at line 113 of file xdg-shell-unstable-v6-protocol.c.

Referenced by zxdg_shell_v6_get_xdg_surface().

## zxdg_toplevel_v6_interface

WL_EXPORT const struct wl_interface zxdg_toplevel_v6_interface

Initial value:
= {
"zxdg_toplevel_v6", 1,
14, zxdg_toplevel_v6_requests,
2, zxdg_toplevel_v6_events,
}

Definition at line 141 of file xdg-shell-unstable-v6-protocol.c.

Referenced by zxdg_surface_v6_get_toplevel().

zxdg_positioner_v6_requests
static const struct wl_message zxdg_positioner_v6_requests[]
Definition: xdg-shell-unstable-v6-protocol.c:85
ZXDG_POSITIONER_V6_GRAVITY_RIGHT
@ ZXDG_POSITIONER_V6_GRAVITY_RIGHT
Definition: xdg-shell-unstable-v6-client-protocol.h:550
zxdg_surface_v6_requests
static const struct wl_message zxdg_surface_v6_requests[]
Definition: xdg-shell-unstable-v6-protocol.c:101
NULL
#define NULL
Definition: begin_code.h:167
ZXDG_POPUP_V6_ERROR_INVALID_GRAB
@ ZXDG_POPUP_V6_ERROR_INVALID_GRAB
Definition: xdg-shell-unstable-v6-client-protocol.h:1583
ZXDG_POSITIONER_V6_ANCHOR_LEFT
@ ZXDG_POSITIONER_V6_ANCHOR_LEFT
Definition: xdg-shell-unstable-v6-client-protocol.h:520
zxdg_toplevel_v6_events
static const struct wl_message zxdg_toplevel_v6_events[]
Definition: xdg-shell-unstable-v6-protocol.c:136
ZXDG_SURFACE_V6_ERROR_NOT_CONSTRUCTED
@ ZXDG_SURFACE_V6_ERROR_NOT_CONSTRUCTED
Definition: xdg-shell-unstable-v6-client-protocol.h:772
ZXDG_POSITIONER_V6_GRAVITY_TOP
@ ZXDG_POSITIONER_V6_GRAVITY_TOP
Definition: xdg-shell-unstable-v6-client-protocol.h:538
zxdg_surface_v6_events
static const struct wl_message zxdg_surface_v6_events[]
Definition: xdg-shell-unstable-v6-protocol.c:109
ZXDG_SHELL_V6_ERROR_NOT_THE_TOPMOST_POPUP
@ ZXDG_SHELL_V6_ERROR_NOT_THE_TOPMOST_POPUP
Definition: xdg-shell-unstable-v6-client-protocol.h:316
ZXDG_SURFACE_V6_ERROR_ALREADY_CONSTRUCTED
@ ZXDG_SURFACE_V6_ERROR_ALREADY_CONSTRUCTED
Definition: xdg-shell-unstable-v6-client-protocol.h:773
ZXDG_POSITIONER_V6_ANCHOR_NONE
@ ZXDG_POSITIONER_V6_ANCHOR_NONE
Definition: xdg-shell-unstable-v6-client-protocol.h:508
ZXDG_POSITIONER_V6_GRAVITY_NONE
@ ZXDG_POSITIONER_V6_GRAVITY_NONE
Definition: xdg-shell-unstable-v6-client-protocol.h:534
ZXDG_SHELL_V6_ERROR_INVALID_POPUP_PARENT
@ ZXDG_SHELL_V6_ERROR_INVALID_POPUP_PARENT
Definition: xdg-shell-unstable-v6-client-protocol.h:320
ZXDG_SHELL_V6_ERROR_INVALID_SURFACE_STATE
@ ZXDG_SHELL_V6_ERROR_INVALID_SURFACE_STATE
Definition: xdg-shell-unstable-v6-client-protocol.h:324
ZXDG_SURFACE_V6_ERROR_UNCONFIGURED_BUFFER
@ ZXDG_SURFACE_V6_ERROR_UNCONFIGURED_BUFFER
Definition: xdg-shell-unstable-v6-client-protocol.h:774
ZXDG_POSITIONER_V6_ANCHOR_BOTTOM
@ ZXDG_POSITIONER_V6_ANCHOR_BOTTOM
Definition: xdg-shell-unstable-v6-client-protocol.h:516
ZXDG_SHELL_V6_ERROR_ROLE
@ ZXDG_SHELL_V6_ERROR_ROLE
Definition: xdg-shell-unstable-v6-client-protocol.h:308
zxdg_popup_v6_events
static const struct wl_message zxdg_popup_v6_events[]
Definition: xdg-shell-unstable-v6-protocol.c:152
zxdg_popup_v6_requests
static const struct wl_message zxdg_popup_v6_requests[]
Definition: xdg-shell-unstable-v6-protocol.c:147
ZXDG_SHELL_V6_ERROR_DEFUNCT_SURFACES
@ ZXDG_SHELL_V6_ERROR_DEFUNCT_SURFACES
Definition: xdg-shell-unstable-v6-client-protocol.h:312
ZXDG_POSITIONER_V6_GRAVITY_LEFT
@ ZXDG_POSITIONER_V6_GRAVITY_LEFT
Definition: xdg-shell-unstable-v6-client-protocol.h:546
ZXDG_POSITIONER_V6_ANCHOR_RIGHT
@ ZXDG_POSITIONER_V6_ANCHOR_RIGHT
Definition: xdg-shell-unstable-v6-client-protocol.h:524
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT
@ ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT
Definition: xdg-shell-unstable-v6-client-protocol.h:498
ZXDG_SHELL_V6_ERROR_INVALID_POSITIONER
@ ZXDG_SHELL_V6_ERROR_INVALID_POSITIONER
Definition: xdg-shell-unstable-v6-client-protocol.h:328
ZXDG_POSITIONER_V6_ANCHOR_TOP
@ ZXDG_POSITIONER_V6_ANCHOR_TOP
Definition: xdg-shell-unstable-v6-client-protocol.h:512
zxdg_toplevel_v6_requests
static const struct wl_message zxdg_toplevel_v6_requests[]
Definition: xdg-shell-unstable-v6-protocol.c:119
ZXDG_POSITIONER_V6_GRAVITY_BOTTOM
@ ZXDG_POSITIONER_V6_GRAVITY_BOTTOM
Definition: xdg-shell-unstable-v6-client-protocol.h:542