3#ifndef XDG_SHELL_CLIENT_PROTOCOL_H
4#define XDG_SHELL_CLIENT_PROTOCOL_H
8#include "wayland-client.h"
61#ifndef XDG_WM_BASE_INTERFACE
62#define XDG_WM_BASE_INTERFACE
86#ifndef XDG_POSITIONER_INTERFACE
87#define XDG_POSITIONER_INTERFACE
139#ifndef XDG_SURFACE_INTERFACE
140#define XDG_SURFACE_INTERFACE
248#ifndef XDG_TOPLEVEL_INTERFACE
249#define XDG_TOPLEVEL_INTERFACE
297#ifndef XDG_POPUP_INTERFACE
298#define XDG_POPUP_INTERFACE
361#ifndef XDG_WM_BASE_ERROR_ENUM
362#define XDG_WM_BASE_ERROR_ENUM
420 struct xdg_wm_base *xdg_wm_base,
428xdg_wm_base_add_listener(
struct xdg_wm_base *xdg_wm_base,
431 return wl_proxy_add_listener((
struct wl_proxy *) xdg_wm_base,
432 (
void (**)(
void)) listener, data);
435#define XDG_WM_BASE_DESTROY 0
436#define XDG_WM_BASE_CREATE_POSITIONER 1
437#define XDG_WM_BASE_GET_XDG_SURFACE 2
438#define XDG_WM_BASE_PONG 3
443#define XDG_WM_BASE_PING_SINCE_VERSION 1
448#define XDG_WM_BASE_DESTROY_SINCE_VERSION 1
452#define XDG_WM_BASE_CREATE_POSITIONER_SINCE_VERSION 1
456#define XDG_WM_BASE_GET_XDG_SURFACE_SINCE_VERSION 1
460#define XDG_WM_BASE_PONG_SINCE_VERSION 1
464xdg_wm_base_set_user_data(
struct xdg_wm_base *xdg_wm_base,
void *user_data)
466 wl_proxy_set_user_data((
struct wl_proxy *) xdg_wm_base, user_data);
471xdg_wm_base_get_user_data(
struct xdg_wm_base *xdg_wm_base)
473 return wl_proxy_get_user_data((
struct wl_proxy *) xdg_wm_base);
476static inline uint32_t
477xdg_wm_base_get_version(
struct xdg_wm_base *xdg_wm_base)
479 return wl_proxy_get_version((
struct wl_proxy *) xdg_wm_base);
492xdg_wm_base_destroy(
struct xdg_wm_base *xdg_wm_base)
494 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_wm_base,
495 XDG_WM_BASE_DESTROY, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_wm_base), WL_MARSHAL_FLAG_DESTROY);
505static inline struct xdg_positioner *
506xdg_wm_base_create_positioner(
struct xdg_wm_base *xdg_wm_base)
510 id = wl_proxy_marshal_flags((
struct wl_proxy *) xdg_wm_base,
513 return (
struct xdg_positioner *) id;
533static inline struct xdg_surface *
534xdg_wm_base_get_xdg_surface(
struct xdg_wm_base *xdg_wm_base,
struct wl_surface *surface)
538 id = wl_proxy_marshal_flags((
struct wl_proxy *) xdg_wm_base,
541 return (
struct xdg_surface *) id;
552xdg_wm_base_pong(
struct xdg_wm_base *xdg_wm_base, uint32_t serial)
554 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_wm_base,
555 XDG_WM_BASE_PONG, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_wm_base), 0, serial);
558#ifndef XDG_POSITIONER_ERROR_ENUM
559#define XDG_POSITIONER_ERROR_ENUM
568#ifndef XDG_POSITIONER_ANCHOR_ENUM
569#define XDG_POSITIONER_ANCHOR_ENUM
583#ifndef XDG_POSITIONER_GRAVITY_ENUM
584#define XDG_POSITIONER_GRAVITY_ENUM
598#ifndef XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM
599#define XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM
706#define XDG_POSITIONER_DESTROY 0
707#define XDG_POSITIONER_SET_SIZE 1
708#define XDG_POSITIONER_SET_ANCHOR_RECT 2
709#define XDG_POSITIONER_SET_ANCHOR 3
710#define XDG_POSITIONER_SET_GRAVITY 4
711#define XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT 5
712#define XDG_POSITIONER_SET_OFFSET 6
713#define XDG_POSITIONER_SET_REACTIVE 7
714#define XDG_POSITIONER_SET_PARENT_SIZE 8
715#define XDG_POSITIONER_SET_PARENT_CONFIGURE 9
721#define XDG_POSITIONER_DESTROY_SINCE_VERSION 1
725#define XDG_POSITIONER_SET_SIZE_SINCE_VERSION 1
729#define XDG_POSITIONER_SET_ANCHOR_RECT_SINCE_VERSION 1
733#define XDG_POSITIONER_SET_ANCHOR_SINCE_VERSION 1
737#define XDG_POSITIONER_SET_GRAVITY_SINCE_VERSION 1
741#define XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT_SINCE_VERSION 1
745#define XDG_POSITIONER_SET_OFFSET_SINCE_VERSION 1
749#define XDG_POSITIONER_SET_REACTIVE_SINCE_VERSION 3
753#define XDG_POSITIONER_SET_PARENT_SIZE_SINCE_VERSION 3
757#define XDG_POSITIONER_SET_PARENT_CONFIGURE_SINCE_VERSION 3
761xdg_positioner_set_user_data(
struct xdg_positioner *xdg_positioner,
void *user_data)
763 wl_proxy_set_user_data((
struct wl_proxy *) xdg_positioner, user_data);
768xdg_positioner_get_user_data(
struct xdg_positioner *xdg_positioner)
770 return wl_proxy_get_user_data((
struct wl_proxy *) xdg_positioner);
773static inline uint32_t
774xdg_positioner_get_version(
struct xdg_positioner *xdg_positioner)
776 return wl_proxy_get_version((
struct wl_proxy *) xdg_positioner);
785xdg_positioner_destroy(
struct xdg_positioner *xdg_positioner)
787 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
788 XDG_POSITIONER_DESTROY, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_positioner), WL_MARSHAL_FLAG_DESTROY);
801xdg_positioner_set_size(
struct xdg_positioner *xdg_positioner, int32_t width, int32_t height)
803 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
822xdg_positioner_set_anchor_rect(
struct xdg_positioner *xdg_positioner, int32_t x, int32_t y, int32_t width, int32_t height)
824 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
839xdg_positioner_set_anchor(
struct xdg_positioner *xdg_positioner, uint32_t anchor)
841 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
857xdg_positioner_set_gravity(
struct xdg_positioner *xdg_positioner, uint32_t gravity)
859 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
881xdg_positioner_set_constraint_adjustment(
struct xdg_positioner *xdg_positioner, uint32_t constraint_adjustment)
883 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
903xdg_positioner_set_offset(
struct xdg_positioner *xdg_positioner, int32_t x, int32_t y)
905 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
920xdg_positioner_set_reactive(
struct xdg_positioner *xdg_positioner)
922 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
938xdg_positioner_set_parent_size(
struct xdg_positioner *xdg_positioner, int32_t parent_width, int32_t parent_height)
940 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
953xdg_positioner_set_parent_configure(
struct xdg_positioner *xdg_positioner, uint32_t serial)
955 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_positioner,
959#ifndef XDG_SURFACE_ERROR_ENUM
960#define XDG_SURFACE_ERROR_ENUM
1019 struct xdg_surface *xdg_surface,
1027xdg_surface_add_listener(
struct xdg_surface *xdg_surface,
1030 return wl_proxy_add_listener((
struct wl_proxy *) xdg_surface,
1031 (
void (**)(
void)) listener, data);
1034#define XDG_SURFACE_DESTROY 0
1035#define XDG_SURFACE_GET_TOPLEVEL 1
1036#define XDG_SURFACE_GET_POPUP 2
1037#define XDG_SURFACE_SET_WINDOW_GEOMETRY 3
1038#define XDG_SURFACE_ACK_CONFIGURE 4
1043#define XDG_SURFACE_CONFIGURE_SINCE_VERSION 1
1048#define XDG_SURFACE_DESTROY_SINCE_VERSION 1
1052#define XDG_SURFACE_GET_TOPLEVEL_SINCE_VERSION 1
1056#define XDG_SURFACE_GET_POPUP_SINCE_VERSION 1
1060#define XDG_SURFACE_SET_WINDOW_GEOMETRY_SINCE_VERSION 1
1064#define XDG_SURFACE_ACK_CONFIGURE_SINCE_VERSION 1
1068xdg_surface_set_user_data(
struct xdg_surface *xdg_surface,
void *user_data)
1070 wl_proxy_set_user_data((
struct wl_proxy *) xdg_surface, user_data);
1075xdg_surface_get_user_data(
struct xdg_surface *xdg_surface)
1077 return wl_proxy_get_user_data((
struct wl_proxy *) xdg_surface);
1080static inline uint32_t
1081xdg_surface_get_version(
struct xdg_surface *xdg_surface)
1083 return wl_proxy_get_version((
struct wl_proxy *) xdg_surface);
1094xdg_surface_destroy(
struct xdg_surface *xdg_surface)
1096 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_surface,
1097 XDG_SURFACE_DESTROY, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_surface), WL_MARSHAL_FLAG_DESTROY);
1109static inline struct xdg_toplevel *
1110xdg_surface_get_toplevel(
struct xdg_surface *xdg_surface)
1112 struct wl_proxy *id;
1114 id = wl_proxy_marshal_flags((
struct wl_proxy *) xdg_surface,
1117 return (
struct xdg_toplevel *) id;
1132static inline struct xdg_popup *
1133xdg_surface_get_popup(
struct xdg_surface *xdg_surface,
struct xdg_surface *parent,
struct xdg_positioner *positioner)
1135 struct wl_proxy *id;
1137 id = wl_proxy_marshal_flags((
struct wl_proxy *) xdg_surface,
1140 return (
struct xdg_popup *) id;
1186xdg_surface_set_window_geometry(
struct xdg_surface *xdg_surface, int32_t x, int32_t y, int32_t width, int32_t height)
1188 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_surface,
1229xdg_surface_ack_configure(
struct xdg_surface *xdg_surface, uint32_t serial)
1231 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_surface,
1235#ifndef XDG_TOPLEVEL_ERROR_ENUM
1236#define XDG_TOPLEVEL_ERROR_ENUM
1253#ifndef XDG_TOPLEVEL_RESIZE_EDGE_ENUM
1254#define XDG_TOPLEVEL_RESIZE_EDGE_ENUM
1275#ifndef XDG_TOPLEVEL_STATE_ENUM
1276#define XDG_TOPLEVEL_STATE_ENUM
1377#define XDG_TOPLEVEL_STATE_TILED_LEFT_SINCE_VERSION 2
1381#define XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION 2
1385#define XDG_TOPLEVEL_STATE_TILED_TOP_SINCE_VERSION 2
1389#define XDG_TOPLEVEL_STATE_TILED_BOTTOM_SINCE_VERSION 2
1393#define XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION 6
1396#ifndef XDG_TOPLEVEL_WM_CAPABILITIES_ENUM
1397#define XDG_TOPLEVEL_WM_CAPABILITIES_ENUM
1449 struct xdg_toplevel *xdg_toplevel,
1452 struct wl_array *states);
1466 struct xdg_toplevel *xdg_toplevel);
1489 struct xdg_toplevel *xdg_toplevel,
1520 struct xdg_toplevel *xdg_toplevel,
1521 struct wl_array *capabilities);
1528xdg_toplevel_add_listener(
struct xdg_toplevel *xdg_toplevel,
1531 return wl_proxy_add_listener((
struct wl_proxy *) xdg_toplevel,
1532 (
void (**)(
void)) listener, data);
1535#define XDG_TOPLEVEL_DESTROY 0
1536#define XDG_TOPLEVEL_SET_PARENT 1
1537#define XDG_TOPLEVEL_SET_TITLE 2
1538#define XDG_TOPLEVEL_SET_APP_ID 3
1539#define XDG_TOPLEVEL_SHOW_WINDOW_MENU 4
1540#define XDG_TOPLEVEL_MOVE 5
1541#define XDG_TOPLEVEL_RESIZE 6
1542#define XDG_TOPLEVEL_SET_MAX_SIZE 7
1543#define XDG_TOPLEVEL_SET_MIN_SIZE 8
1544#define XDG_TOPLEVEL_SET_MAXIMIZED 9
1545#define XDG_TOPLEVEL_UNSET_MAXIMIZED 10
1546#define XDG_TOPLEVEL_SET_FULLSCREEN 11
1547#define XDG_TOPLEVEL_UNSET_FULLSCREEN 12
1548#define XDG_TOPLEVEL_SET_MINIMIZED 13
1553#define XDG_TOPLEVEL_CONFIGURE_SINCE_VERSION 1
1557#define XDG_TOPLEVEL_CLOSE_SINCE_VERSION 1
1561#define XDG_TOPLEVEL_CONFIGURE_BOUNDS_SINCE_VERSION 4
1565#define XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION 5
1570#define XDG_TOPLEVEL_DESTROY_SINCE_VERSION 1
1574#define XDG_TOPLEVEL_SET_PARENT_SINCE_VERSION 1
1578#define XDG_TOPLEVEL_SET_TITLE_SINCE_VERSION 1
1582#define XDG_TOPLEVEL_SET_APP_ID_SINCE_VERSION 1
1586#define XDG_TOPLEVEL_SHOW_WINDOW_MENU_SINCE_VERSION 1
1590#define XDG_TOPLEVEL_MOVE_SINCE_VERSION 1
1594#define XDG_TOPLEVEL_RESIZE_SINCE_VERSION 1
1598#define XDG_TOPLEVEL_SET_MAX_SIZE_SINCE_VERSION 1
1602#define XDG_TOPLEVEL_SET_MIN_SIZE_SINCE_VERSION 1
1606#define XDG_TOPLEVEL_SET_MAXIMIZED_SINCE_VERSION 1
1610#define XDG_TOPLEVEL_UNSET_MAXIMIZED_SINCE_VERSION 1
1614#define XDG_TOPLEVEL_SET_FULLSCREEN_SINCE_VERSION 1
1618#define XDG_TOPLEVEL_UNSET_FULLSCREEN_SINCE_VERSION 1
1622#define XDG_TOPLEVEL_SET_MINIMIZED_SINCE_VERSION 1
1626xdg_toplevel_set_user_data(
struct xdg_toplevel *xdg_toplevel,
void *user_data)
1628 wl_proxy_set_user_data((
struct wl_proxy *) xdg_toplevel, user_data);
1633xdg_toplevel_get_user_data(
struct xdg_toplevel *xdg_toplevel)
1635 return wl_proxy_get_user_data((
struct wl_proxy *) xdg_toplevel);
1638static inline uint32_t
1639xdg_toplevel_get_version(
struct xdg_toplevel *xdg_toplevel)
1641 return wl_proxy_get_version((
struct wl_proxy *) xdg_toplevel);
1651xdg_toplevel_destroy(
struct xdg_toplevel *xdg_toplevel)
1653 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1654 XDG_TOPLEVEL_DESTROY, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_toplevel), WL_MARSHAL_FLAG_DESTROY);
1682xdg_toplevel_set_parent(
struct xdg_toplevel *xdg_toplevel,
struct xdg_toplevel *parent)
1684 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1700xdg_toplevel_set_title(
struct xdg_toplevel *xdg_toplevel,
const char *title)
1702 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1734xdg_toplevel_set_app_id(
struct xdg_toplevel *xdg_toplevel,
const char *app_id)
1736 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1757xdg_toplevel_show_window_menu(
struct xdg_toplevel *xdg_toplevel,
struct wl_seat *seat, uint32_t serial, int32_t x, int32_t y)
1759 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1784xdg_toplevel_move(
struct xdg_toplevel *xdg_toplevel,
struct wl_seat *seat, uint32_t serial)
1786 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1787 XDG_TOPLEVEL_MOVE, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_toplevel), 0, seat, serial);
1826xdg_toplevel_resize(
struct xdg_toplevel *xdg_toplevel,
struct wl_seat *seat, uint32_t serial, uint32_t edges)
1828 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1829 XDG_TOPLEVEL_RESIZE, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_toplevel), 0, seat, serial, edges);
1871xdg_toplevel_set_max_size(
struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height)
1873 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1916xdg_toplevel_set_min_size(
struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height)
1918 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1946xdg_toplevel_set_maximized(
struct xdg_toplevel *xdg_toplevel)
1948 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
1978xdg_toplevel_unset_maximized(
struct xdg_toplevel *xdg_toplevel)
1980 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
2012xdg_toplevel_set_fullscreen(
struct xdg_toplevel *xdg_toplevel,
struct wl_output *output)
2014 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
2040xdg_toplevel_unset_fullscreen(
struct xdg_toplevel *xdg_toplevel)
2042 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
2059xdg_toplevel_set_minimized(
struct xdg_toplevel *xdg_toplevel)
2061 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_toplevel,
2065#ifndef XDG_POPUP_ERROR_ENUM
2066#define XDG_POPUP_ERROR_ENUM
2102 struct xdg_popup *xdg_popup,
2115 struct xdg_popup *xdg_popup);
2140 struct xdg_popup *xdg_popup,
2148xdg_popup_add_listener(
struct xdg_popup *xdg_popup,
2151 return wl_proxy_add_listener((
struct wl_proxy *) xdg_popup,
2152 (
void (**)(
void)) listener, data);
2155#define XDG_POPUP_DESTROY 0
2156#define XDG_POPUP_GRAB 1
2157#define XDG_POPUP_REPOSITION 2
2162#define XDG_POPUP_CONFIGURE_SINCE_VERSION 1
2166#define XDG_POPUP_POPUP_DONE_SINCE_VERSION 1
2170#define XDG_POPUP_REPOSITIONED_SINCE_VERSION 3
2175#define XDG_POPUP_DESTROY_SINCE_VERSION 1
2179#define XDG_POPUP_GRAB_SINCE_VERSION 1
2183#define XDG_POPUP_REPOSITION_SINCE_VERSION 3
2187xdg_popup_set_user_data(
struct xdg_popup *xdg_popup,
void *user_data)
2189 wl_proxy_set_user_data((
struct wl_proxy *) xdg_popup, user_data);
2194xdg_popup_get_user_data(
struct xdg_popup *xdg_popup)
2196 return wl_proxy_get_user_data((
struct wl_proxy *) xdg_popup);
2199static inline uint32_t
2200xdg_popup_get_version(
struct xdg_popup *xdg_popup)
2202 return wl_proxy_get_version((
struct wl_proxy *) xdg_popup);
2215xdg_popup_destroy(
struct xdg_popup *xdg_popup)
2217 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_popup,
2218 XDG_POPUP_DESTROY, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_popup), WL_MARSHAL_FLAG_DESTROY);
2263xdg_popup_grab(
struct xdg_popup *xdg_popup,
struct wl_seat *seat, uint32_t serial)
2265 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_popup,
2266 XDG_POPUP_GRAB, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_popup), 0, seat, serial);
2297xdg_popup_reposition(
struct xdg_popup *xdg_popup,
struct xdg_positioner *positioner, uint32_t token)
2299 wl_proxy_marshal_flags((
struct wl_proxy *) xdg_popup,
2300 XDG_POPUP_REPOSITION, NULL, wl_proxy_get_version((
struct wl_proxy *) xdg_popup), 0, positioner, token);
xdg_positioner_constraint_adjustment
Definition: xdg-shell-client-protocol.h:616
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_SLIDE_Y
Definition: xdg-shell-client-protocol.h:657
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_SLIDE_X
Definition: xdg-shell-client-protocol.h:640
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_RESIZE_X
Definition: xdg-shell-client-protocol.h:695
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_FLIP_Y
Definition: xdg-shell-client-protocol.h:688
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_NONE
Definition: xdg-shell-client-protocol.h:623
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_FLIP_X
Definition: xdg-shell-client-protocol.h:670
@ XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_RESIZE_Y
Definition: xdg-shell-client-protocol.h:702
xdg_toplevel_resize_edge
Definition: xdg-shell-client-protocol.h:1262
xdg_toplevel_state
Definition: xdg-shell-client-protocol.h:1289
@ XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM
Definition: xdg-shell-client-protocol.h:1265
@ XDG_TOPLEVEL_RESIZE_EDGE_RIGHT
Definition: xdg-shell-client-protocol.h:1269
@ XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT
Definition: xdg-shell-client-protocol.h:1270
@ XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT
Definition: xdg-shell-client-protocol.h:1271
@ XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT
Definition: xdg-shell-client-protocol.h:1267
@ XDG_TOPLEVEL_RESIZE_EDGE_NONE
Definition: xdg-shell-client-protocol.h:1263
@ XDG_TOPLEVEL_RESIZE_EDGE_LEFT
Definition: xdg-shell-client-protocol.h:1266
@ XDG_TOPLEVEL_RESIZE_EDGE_TOP
Definition: xdg-shell-client-protocol.h:1264
@ XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT
Definition: xdg-shell-client-protocol.h:1268
@ XDG_TOPLEVEL_STATE_MAXIMIZED
Definition: xdg-shell-client-protocol.h:1301
@ XDG_TOPLEVEL_STATE_TILED_RIGHT
Definition: xdg-shell-client-protocol.h:1347
@ XDG_TOPLEVEL_STATE_TILED_LEFT
Definition: xdg-shell-client-protocol.h:1339
@ XDG_TOPLEVEL_STATE_SUSPENDED
Definition: xdg-shell-client-protocol.h:1372
@ XDG_TOPLEVEL_STATE_TILED_BOTTOM
Definition: xdg-shell-client-protocol.h:1363
@ XDG_TOPLEVEL_STATE_TILED_TOP
Definition: xdg-shell-client-protocol.h:1355
@ XDG_TOPLEVEL_STATE_ACTIVATED
Definition: xdg-shell-client-protocol.h:1331
@ XDG_TOPLEVEL_STATE_FULLSCREEN
Definition: xdg-shell-client-protocol.h:1312
@ XDG_TOPLEVEL_STATE_RESIZING
Definition: xdg-shell-client-protocol.h:1322
Definition: xdg-shell-client-protocol.h:993
void(* configure)(void *data, struct xdg_surface *xdg_surface, uint32_t serial)
Definition: xdg-shell-client-protocol.h:1018
Definition: xdg-shell-client-protocol.h:1422
void(* wm_capabilities)(void *data, struct xdg_toplevel *xdg_toplevel, struct wl_array *capabilities)
Definition: xdg-shell-client-protocol.h:1519
void(* configure_bounds)(void *data, struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height)
Definition: xdg-shell-client-protocol.h:1488
void(* configure)(void *data, struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height, struct wl_array *states)
Definition: xdg-shell-client-protocol.h:1448
void(* close)(void *data, struct xdg_toplevel *xdg_toplevel)
Definition: xdg-shell-client-protocol.h:1465
Definition: xdg-shell-client-protocol.h:399
void(* ping)(void *data, struct xdg_wm_base *xdg_wm_base, uint32_t serial)
Definition: xdg-shell-client-protocol.h:419
#define XDG_TOPLEVEL_RESIZE
Definition: xdg-shell-client-protocol.h:1541
#define XDG_TOPLEVEL_UNSET_MAXIMIZED
Definition: xdg-shell-client-protocol.h:1545
#define XDG_POSITIONER_SET_ANCHOR
Definition: xdg-shell-client-protocol.h:709
xdg_surface_error
Definition: xdg-shell-client-protocol.h:961
@ XDG_SURFACE_ERROR_INVALID_SERIAL
Definition: xdg-shell-client-protocol.h:977
@ XDG_SURFACE_ERROR_NOT_CONSTRUCTED
Definition: xdg-shell-client-protocol.h:965
@ XDG_SURFACE_ERROR_DEFUNCT_ROLE_OBJECT
Definition: xdg-shell-client-protocol.h:985
@ XDG_SURFACE_ERROR_ALREADY_CONSTRUCTED
Definition: xdg-shell-client-protocol.h:969
@ XDG_SURFACE_ERROR_UNCONFIGURED_BUFFER
Definition: xdg-shell-client-protocol.h:973
@ XDG_SURFACE_ERROR_INVALID_SIZE
Definition: xdg-shell-client-protocol.h:981
#define XDG_SURFACE_GET_TOPLEVEL
Definition: xdg-shell-client-protocol.h:1035
const struct wl_interface xdg_positioner_interface
Definition: xdg-shell-protocol.c:112
#define XDG_POSITIONER_SET_GRAVITY
Definition: xdg-shell-client-protocol.h:710
#define XDG_TOPLEVEL_UNSET_FULLSCREEN
Definition: xdg-shell-client-protocol.h:1547
#define XDG_POPUP_DESTROY
Definition: xdg-shell-client-protocol.h:2155
#define XDG_POSITIONER_DESTROY
Definition: xdg-shell-client-protocol.h:706
#define XDG_POPUP_GRAB
Definition: xdg-shell-client-protocol.h:2156
#define XDG_TOPLEVEL_SET_PARENT
Definition: xdg-shell-client-protocol.h:1536
const struct wl_interface xdg_wm_base_interface
Definition: xdg-shell-protocol.c:93
#define XDG_TOPLEVEL_SET_MINIMIZED
Definition: xdg-shell-client-protocol.h:1548
#define XDG_TOPLEVEL_SET_APP_ID
Definition: xdg-shell-client-protocol.h:1538
xdg_positioner_anchor
Definition: xdg-shell-client-protocol.h:570
@ XDG_POSITIONER_ANCHOR_TOP_RIGHT
Definition: xdg-shell-client-protocol.h:578
@ XDG_POSITIONER_ANCHOR_BOTTOM
Definition: xdg-shell-client-protocol.h:573
@ XDG_POSITIONER_ANCHOR_TOP_LEFT
Definition: xdg-shell-client-protocol.h:576
@ XDG_POSITIONER_ANCHOR_RIGHT
Definition: xdg-shell-client-protocol.h:575
@ XDG_POSITIONER_ANCHOR_TOP
Definition: xdg-shell-client-protocol.h:572
@ XDG_POSITIONER_ANCHOR_LEFT
Definition: xdg-shell-client-protocol.h:574
@ XDG_POSITIONER_ANCHOR_BOTTOM_LEFT
Definition: xdg-shell-client-protocol.h:577
@ XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT
Definition: xdg-shell-client-protocol.h:579
@ XDG_POSITIONER_ANCHOR_NONE
Definition: xdg-shell-client-protocol.h:571
#define XDG_WM_BASE_GET_XDG_SURFACE
Definition: xdg-shell-client-protocol.h:437
const struct wl_interface xdg_toplevel_interface
Definition: xdg-shell-protocol.c:160
xdg_toplevel_wm_capabilities
Definition: xdg-shell-client-protocol.h:1398
@ XDG_TOPLEVEL_WM_CAPABILITIES_FULLSCREEN
Definition: xdg-shell-client-protocol.h:1410
@ XDG_TOPLEVEL_WM_CAPABILITIES_MAXIMIZE
Definition: xdg-shell-client-protocol.h:1406
@ XDG_TOPLEVEL_WM_CAPABILITIES_MINIMIZE
Definition: xdg-shell-client-protocol.h:1414
@ XDG_TOPLEVEL_WM_CAPABILITIES_WINDOW_MENU
Definition: xdg-shell-client-protocol.h:1402
#define XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT
Definition: xdg-shell-client-protocol.h:711
xdg_wm_base_error
Definition: xdg-shell-client-protocol.h:363
@ XDG_WM_BASE_ERROR_INVALID_POSITIONER
Definition: xdg-shell-client-protocol.h:387
@ XDG_WM_BASE_ERROR_INVALID_POPUP_PARENT
Definition: xdg-shell-client-protocol.h:379
@ XDG_WM_BASE_ERROR_DEFUNCT_SURFACES
Definition: xdg-shell-client-protocol.h:371
@ XDG_WM_BASE_ERROR_UNRESPONSIVE
Definition: xdg-shell-client-protocol.h:391
@ XDG_WM_BASE_ERROR_INVALID_SURFACE_STATE
Definition: xdg-shell-client-protocol.h:383
@ XDG_WM_BASE_ERROR_NOT_THE_TOPMOST_POPUP
Definition: xdg-shell-client-protocol.h:375
@ XDG_WM_BASE_ERROR_ROLE
Definition: xdg-shell-client-protocol.h:367
const struct wl_interface xdg_surface_interface
Definition: xdg-shell-protocol.c:130
#define XDG_POSITIONER_SET_SIZE
Definition: xdg-shell-client-protocol.h:707
#define XDG_TOPLEVEL_DESTROY
Definition: xdg-shell-client-protocol.h:1535
#define XDG_TOPLEVEL_SET_MAXIMIZED
Definition: xdg-shell-client-protocol.h:1544
#define XDG_TOPLEVEL_SET_TITLE
Definition: xdg-shell-client-protocol.h:1537
xdg_popup_error
Definition: xdg-shell-client-protocol.h:2067
@ XDG_POPUP_ERROR_INVALID_GRAB
Definition: xdg-shell-client-protocol.h:2071
#define XDG_TOPLEVEL_SET_MAX_SIZE
Definition: xdg-shell-client-protocol.h:1542
#define XDG_SURFACE_SET_WINDOW_GEOMETRY
Definition: xdg-shell-client-protocol.h:1037
#define XDG_POSITIONER_SET_ANCHOR_RECT
Definition: xdg-shell-client-protocol.h:708
xdg_toplevel_error
Definition: xdg-shell-client-protocol.h:1237
@ XDG_TOPLEVEL_ERROR_INVALID_PARENT
Definition: xdg-shell-client-protocol.h:1245
@ XDG_TOPLEVEL_ERROR_INVALID_SIZE
Definition: xdg-shell-client-protocol.h:1249
@ XDG_TOPLEVEL_ERROR_INVALID_RESIZE_EDGE
Definition: xdg-shell-client-protocol.h:1241
xdg_positioner_gravity
Definition: xdg-shell-client-protocol.h:585
@ XDG_POSITIONER_GRAVITY_LEFT
Definition: xdg-shell-client-protocol.h:589
@ XDG_POSITIONER_GRAVITY_BOTTOM_RIGHT
Definition: xdg-shell-client-protocol.h:594
@ XDG_POSITIONER_GRAVITY_NONE
Definition: xdg-shell-client-protocol.h:586
@ XDG_POSITIONER_GRAVITY_RIGHT
Definition: xdg-shell-client-protocol.h:590
@ XDG_POSITIONER_GRAVITY_BOTTOM_LEFT
Definition: xdg-shell-client-protocol.h:592
@ XDG_POSITIONER_GRAVITY_TOP
Definition: xdg-shell-client-protocol.h:587
@ XDG_POSITIONER_GRAVITY_BOTTOM
Definition: xdg-shell-client-protocol.h:588
@ XDG_POSITIONER_GRAVITY_TOP_LEFT
Definition: xdg-shell-client-protocol.h:591
@ XDG_POSITIONER_GRAVITY_TOP_RIGHT
Definition: xdg-shell-client-protocol.h:593
#define XDG_POPUP_REPOSITION
Definition: xdg-shell-client-protocol.h:2157
#define XDG_TOPLEVEL_MOVE
Definition: xdg-shell-client-protocol.h:1540
#define XDG_POSITIONER_SET_REACTIVE
Definition: xdg-shell-client-protocol.h:713
#define XDG_SURFACE_ACK_CONFIGURE
Definition: xdg-shell-client-protocol.h:1038
const struct wl_interface xdg_popup_interface
Definition: xdg-shell-protocol.c:178
#define XDG_POSITIONER_SET_PARENT_CONFIGURE
Definition: xdg-shell-client-protocol.h:715
xdg_positioner_error
Definition: xdg-shell-client-protocol.h:560
@ XDG_POSITIONER_ERROR_INVALID_INPUT
Definition: xdg-shell-client-protocol.h:564
#define XDG_TOPLEVEL_SET_FULLSCREEN
Definition: xdg-shell-client-protocol.h:1546
#define XDG_WM_BASE_PONG
Definition: xdg-shell-client-protocol.h:438
#define XDG_POSITIONER_SET_OFFSET
Definition: xdg-shell-client-protocol.h:712
#define XDG_TOPLEVEL_SHOW_WINDOW_MENU
Definition: xdg-shell-client-protocol.h:1539
#define XDG_SURFACE_GET_POPUP
Definition: xdg-shell-client-protocol.h:1036
#define XDG_TOPLEVEL_SET_MIN_SIZE
Definition: xdg-shell-client-protocol.h:1543
#define XDG_SURFACE_DESTROY
Definition: xdg-shell-client-protocol.h:1034
#define XDG_WM_BASE_CREATE_POSITIONER
Definition: xdg-shell-client-protocol.h:436
#define XDG_WM_BASE_DESTROY
Definition: xdg-shell-client-protocol.h:435
#define XDG_POSITIONER_SET_PARENT_SIZE
Definition: xdg-shell-client-protocol.h:714