Wayland Client API  1.14.91
C library binding to the wayland protocol
wayland-client-protocol.h
Go to the documentation of this file.
1 /* Generated by wayland-scanner 1.14.91 */
2 
3 #ifndef WAYLAND_CLIENT_PROTOCOL_H
4 #define WAYLAND_CLIENT_PROTOCOL_H
5 
6 #include <stdint.h>
7 #include <stddef.h>
8 #include "wayland-client.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
68 struct wl_buffer;
69 struct wl_callback;
70 struct wl_compositor;
71 struct wl_data_device;
72 struct wl_data_device_manager;
73 struct wl_data_offer;
74 struct wl_data_source;
75 struct wl_display;
76 struct wl_keyboard;
77 struct wl_output;
78 struct wl_pointer;
79 struct wl_region;
80 struct wl_registry;
81 struct wl_seat;
82 struct wl_shell;
83 struct wl_shell_surface;
84 struct wl_shm;
85 struct wl_shm_pool;
86 struct wl_subcompositor;
87 struct wl_subsurface;
88 struct wl_surface;
89 struct wl_touch;
90 
106 extern const struct wl_interface wl_display_interface;
158 extern const struct wl_interface wl_registry_interface;
174 extern const struct wl_interface wl_callback_interface;
192 extern const struct wl_interface wl_compositor_interface;
218 extern const struct wl_interface wl_shm_pool_interface;
248 extern const struct wl_interface wl_shm_interface;
270 extern const struct wl_interface wl_buffer_interface;
294 extern const struct wl_interface wl_data_offer_interface;
314 extern const struct wl_interface wl_data_source_interface;
336 extern const struct wl_interface wl_data_device_interface;
396 extern const struct wl_interface wl_shell_interface;
430 extern const struct wl_interface wl_shell_surface_interface;
520 extern const struct wl_interface wl_surface_interface;
540 extern const struct wl_interface wl_seat_interface;
568 extern const struct wl_interface wl_pointer_interface;
584 extern const struct wl_interface wl_keyboard_interface;
612 extern const struct wl_interface wl_touch_interface;
636 extern const struct wl_interface wl_output_interface;
656 extern const struct wl_interface wl_region_interface;
706 extern const struct wl_interface wl_subcompositor_interface;
816 extern const struct wl_interface wl_subsurface_interface;
817 
818 #ifndef WL_DISPLAY_ERROR_ENUM
819 #define WL_DISPLAY_ERROR_ENUM
820 
840 };
841 #endif /* WL_DISPLAY_ERROR_ENUM */
842 
862  void (*error)(void *data,
863  struct wl_display *wl_display,
864  void *object_id,
865  uint32_t code,
866  const char *message);
877  void (*delete_id)(void *data,
878  struct wl_display *wl_display,
879  uint32_t id);
880 };
881 
885 static inline int
887  const struct wl_display_listener *listener, void *data)
888 {
889  return wl_proxy_add_listener((struct wl_proxy *) wl_display,
890  (void (**)(void)) listener, data);
891 }
892 
893 #define WL_DISPLAY_SYNC 0
894 #define WL_DISPLAY_GET_REGISTRY 1
895 
899 #define WL_DISPLAY_ERROR_SINCE_VERSION 1
900 
903 #define WL_DISPLAY_DELETE_ID_SINCE_VERSION 1
904 
908 #define WL_DISPLAY_SYNC_SINCE_VERSION 1
909 
912 #define WL_DISPLAY_GET_REGISTRY_SINCE_VERSION 1
913 
915 static inline void
917 {
918  wl_proxy_set_user_data((struct wl_proxy *) wl_display, user_data);
919 }
920 
922 static inline void *
924 {
925  return wl_proxy_get_user_data((struct wl_proxy *) wl_display);
926 }
927 
928 static inline uint32_t
930 {
931  return wl_proxy_get_version((struct wl_proxy *) wl_display);
932 }
933 
949 static inline struct wl_callback *
951 {
952  struct wl_proxy *callback;
953 
954  callback = wl_proxy_marshal_constructor((struct wl_proxy *) wl_display,
956 
957  return (struct wl_callback *) callback;
958 }
959 
973 static inline struct wl_registry *
975 {
976  struct wl_proxy *registry;
977 
978  registry = wl_proxy_marshal_constructor((struct wl_proxy *) wl_display,
980 
981  return (struct wl_registry *) registry;
982 }
983 
1001  void (*global)(void *data,
1002  struct wl_registry *wl_registry,
1003  uint32_t name,
1004  const char *interface,
1005  uint32_t version);
1021  void (*global_remove)(void *data,
1022  struct wl_registry *wl_registry,
1023  uint32_t name);
1024 };
1025 
1029 static inline int
1030 wl_registry_add_listener(struct wl_registry *wl_registry,
1031  const struct wl_registry_listener *listener, void *data)
1032 {
1033  return wl_proxy_add_listener((struct wl_proxy *) wl_registry,
1034  (void (**)(void)) listener, data);
1035 }
1036 
1037 #define WL_REGISTRY_BIND 0
1038 
1042 #define WL_REGISTRY_GLOBAL_SINCE_VERSION 1
1043 
1046 #define WL_REGISTRY_GLOBAL_REMOVE_SINCE_VERSION 1
1047 
1051 #define WL_REGISTRY_BIND_SINCE_VERSION 1
1052 
1054 static inline void
1055 wl_registry_set_user_data(struct wl_registry *wl_registry, void *user_data)
1056 {
1057  wl_proxy_set_user_data((struct wl_proxy *) wl_registry, user_data);
1058 }
1059 
1061 static inline void *
1062 wl_registry_get_user_data(struct wl_registry *wl_registry)
1063 {
1064  return wl_proxy_get_user_data((struct wl_proxy *) wl_registry);
1065 }
1066 
1067 static inline uint32_t
1068 wl_registry_get_version(struct wl_registry *wl_registry)
1069 {
1070  return wl_proxy_get_version((struct wl_proxy *) wl_registry);
1071 }
1072 
1074 static inline void
1075 wl_registry_destroy(struct wl_registry *wl_registry)
1076 {
1077  wl_proxy_destroy((struct wl_proxy *) wl_registry);
1078 }
1079 
1086 static inline void *
1087 wl_registry_bind(struct wl_registry *wl_registry, uint32_t name, const struct wl_interface *interface, uint32_t version)
1088 {
1089  struct wl_proxy *id;
1090 
1091  id = wl_proxy_marshal_constructor_versioned((struct wl_proxy *) wl_registry,
1092  WL_REGISTRY_BIND, interface, version, name, interface->name, version, NULL);
1093 
1094  return (void *) id;
1095 }
1096 
1108  void (*done)(void *data,
1109  struct wl_callback *wl_callback,
1110  uint32_t callback_data);
1111 };
1112 
1116 static inline int
1117 wl_callback_add_listener(struct wl_callback *wl_callback,
1118  const struct wl_callback_listener *listener, void *data)
1119 {
1120  return wl_proxy_add_listener((struct wl_proxy *) wl_callback,
1121  (void (**)(void)) listener, data);
1122 }
1123 
1127 #define WL_CALLBACK_DONE_SINCE_VERSION 1
1128 
1129 
1131 static inline void
1132 wl_callback_set_user_data(struct wl_callback *wl_callback, void *user_data)
1133 {
1134  wl_proxy_set_user_data((struct wl_proxy *) wl_callback, user_data);
1135 }
1136 
1138 static inline void *
1139 wl_callback_get_user_data(struct wl_callback *wl_callback)
1140 {
1141  return wl_proxy_get_user_data((struct wl_proxy *) wl_callback);
1142 }
1143 
1144 static inline uint32_t
1145 wl_callback_get_version(struct wl_callback *wl_callback)
1146 {
1147  return wl_proxy_get_version((struct wl_proxy *) wl_callback);
1148 }
1149 
1151 static inline void
1152 wl_callback_destroy(struct wl_callback *wl_callback)
1153 {
1154  wl_proxy_destroy((struct wl_proxy *) wl_callback);
1155 }
1156 
1157 #define WL_COMPOSITOR_CREATE_SURFACE 0
1158 #define WL_COMPOSITOR_CREATE_REGION 1
1159 
1160 
1164 #define WL_COMPOSITOR_CREATE_SURFACE_SINCE_VERSION 1
1165 
1168 #define WL_COMPOSITOR_CREATE_REGION_SINCE_VERSION 1
1169 
1171 static inline void
1172 wl_compositor_set_user_data(struct wl_compositor *wl_compositor, void *user_data)
1173 {
1174  wl_proxy_set_user_data((struct wl_proxy *) wl_compositor, user_data);
1175 }
1176 
1178 static inline void *
1179 wl_compositor_get_user_data(struct wl_compositor *wl_compositor)
1180 {
1181  return wl_proxy_get_user_data((struct wl_proxy *) wl_compositor);
1182 }
1183 
1184 static inline uint32_t
1185 wl_compositor_get_version(struct wl_compositor *wl_compositor)
1186 {
1187  return wl_proxy_get_version((struct wl_proxy *) wl_compositor);
1188 }
1189 
1191 static inline void
1192 wl_compositor_destroy(struct wl_compositor *wl_compositor)
1193 {
1194  wl_proxy_destroy((struct wl_proxy *) wl_compositor);
1195 }
1196 
1202 static inline struct wl_surface *
1203 wl_compositor_create_surface(struct wl_compositor *wl_compositor)
1204 {
1205  struct wl_proxy *id;
1206 
1207  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_compositor,
1209 
1210  return (struct wl_surface *) id;
1211 }
1212 
1218 static inline struct wl_region *
1219 wl_compositor_create_region(struct wl_compositor *wl_compositor)
1220 {
1221  struct wl_proxy *id;
1222 
1223  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_compositor,
1225 
1226  return (struct wl_region *) id;
1227 }
1228 
1229 #define WL_SHM_POOL_CREATE_BUFFER 0
1230 #define WL_SHM_POOL_DESTROY 1
1231 #define WL_SHM_POOL_RESIZE 2
1232 
1233 
1237 #define WL_SHM_POOL_CREATE_BUFFER_SINCE_VERSION 1
1238 
1241 #define WL_SHM_POOL_DESTROY_SINCE_VERSION 1
1242 
1245 #define WL_SHM_POOL_RESIZE_SINCE_VERSION 1
1246 
1248 static inline void
1249 wl_shm_pool_set_user_data(struct wl_shm_pool *wl_shm_pool, void *user_data)
1250 {
1251  wl_proxy_set_user_data((struct wl_proxy *) wl_shm_pool, user_data);
1252 }
1253 
1255 static inline void *
1256 wl_shm_pool_get_user_data(struct wl_shm_pool *wl_shm_pool)
1257 {
1258  return wl_proxy_get_user_data((struct wl_proxy *) wl_shm_pool);
1259 }
1260 
1261 static inline uint32_t
1262 wl_shm_pool_get_version(struct wl_shm_pool *wl_shm_pool)
1263 {
1264  return wl_proxy_get_version((struct wl_proxy *) wl_shm_pool);
1265 }
1266 
1282 static inline struct wl_buffer *
1283 wl_shm_pool_create_buffer(struct wl_shm_pool *wl_shm_pool, int32_t offset, int32_t width, int32_t height, int32_t stride, uint32_t format)
1284 {
1285  struct wl_proxy *id;
1286 
1287  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_shm_pool,
1288  WL_SHM_POOL_CREATE_BUFFER, &wl_buffer_interface, NULL, offset, width, height, stride, format);
1289 
1290  return (struct wl_buffer *) id;
1291 }
1292 
1302 static inline void
1303 wl_shm_pool_destroy(struct wl_shm_pool *wl_shm_pool)
1304 {
1305  wl_proxy_marshal((struct wl_proxy *) wl_shm_pool,
1307 
1308  wl_proxy_destroy((struct wl_proxy *) wl_shm_pool);
1309 }
1310 
1319 static inline void
1320 wl_shm_pool_resize(struct wl_shm_pool *wl_shm_pool, int32_t size)
1321 {
1322  wl_proxy_marshal((struct wl_proxy *) wl_shm_pool,
1323  WL_SHM_POOL_RESIZE, size);
1324 }
1325 
1326 #ifndef WL_SHM_ERROR_ENUM
1327 #define WL_SHM_ERROR_ENUM
1328 
1347 };
1348 #endif /* WL_SHM_ERROR_ENUM */
1349 
1350 #ifndef WL_SHM_FORMAT_ENUM
1351 #define WL_SHM_FORMAT_ENUM
1352 
1378  WL_SHM_FORMAT_C8 = 0x20203843,
1382  WL_SHM_FORMAT_RGB332 = 0x38424752,
1386  WL_SHM_FORMAT_BGR233 = 0x38524742,
1454  WL_SHM_FORMAT_RGB565 = 0x36314752,
1458  WL_SHM_FORMAT_BGR565 = 0x36314742,
1462  WL_SHM_FORMAT_RGB888 = 0x34324752,
1466  WL_SHM_FORMAT_BGR888 = 0x34324742,
1526  WL_SHM_FORMAT_YUYV = 0x56595559,
1530  WL_SHM_FORMAT_YVYU = 0x55595659,
1534  WL_SHM_FORMAT_UYVY = 0x59565955,
1538  WL_SHM_FORMAT_VYUY = 0x59555956,
1542  WL_SHM_FORMAT_AYUV = 0x56555941,
1546  WL_SHM_FORMAT_NV12 = 0x3231564e,
1550  WL_SHM_FORMAT_NV21 = 0x3132564e,
1554  WL_SHM_FORMAT_NV16 = 0x3631564e,
1558  WL_SHM_FORMAT_NV61 = 0x3136564e,
1562  WL_SHM_FORMAT_YUV410 = 0x39565559,
1566  WL_SHM_FORMAT_YVU410 = 0x39555659,
1570  WL_SHM_FORMAT_YUV411 = 0x31315559,
1574  WL_SHM_FORMAT_YVU411 = 0x31315659,
1578  WL_SHM_FORMAT_YUV420 = 0x32315559,
1582  WL_SHM_FORMAT_YVU420 = 0x32315659,
1586  WL_SHM_FORMAT_YUV422 = 0x36315559,
1590  WL_SHM_FORMAT_YVU422 = 0x36315659,
1594  WL_SHM_FORMAT_YUV444 = 0x34325559,
1598  WL_SHM_FORMAT_YVU444 = 0x34325659,
1599 };
1600 #endif /* WL_SHM_FORMAT_ENUM */
1601 
1614  void (*format)(void *data,
1615  struct wl_shm *wl_shm,
1616  uint32_t format);
1617 };
1618 
1622 static inline int
1623 wl_shm_add_listener(struct wl_shm *wl_shm,
1624  const struct wl_shm_listener *listener, void *data)
1625 {
1626  return wl_proxy_add_listener((struct wl_proxy *) wl_shm,
1627  (void (**)(void)) listener, data);
1628 }
1629 
1630 #define WL_SHM_CREATE_POOL 0
1631 
1635 #define WL_SHM_FORMAT_SINCE_VERSION 1
1636 
1640 #define WL_SHM_CREATE_POOL_SINCE_VERSION 1
1641 
1643 static inline void
1644 wl_shm_set_user_data(struct wl_shm *wl_shm, void *user_data)
1645 {
1646  wl_proxy_set_user_data((struct wl_proxy *) wl_shm, user_data);
1647 }
1648 
1650 static inline void *
1651 wl_shm_get_user_data(struct wl_shm *wl_shm)
1652 {
1653  return wl_proxy_get_user_data((struct wl_proxy *) wl_shm);
1654 }
1655 
1656 static inline uint32_t
1657 wl_shm_get_version(struct wl_shm *wl_shm)
1658 {
1659  return wl_proxy_get_version((struct wl_proxy *) wl_shm);
1660 }
1661 
1663 static inline void
1664 wl_shm_destroy(struct wl_shm *wl_shm)
1665 {
1666  wl_proxy_destroy((struct wl_proxy *) wl_shm);
1667 }
1668 
1678 static inline struct wl_shm_pool *
1679 wl_shm_create_pool(struct wl_shm *wl_shm, int32_t fd, int32_t size)
1680 {
1681  struct wl_proxy *id;
1682 
1683  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_shm,
1684  WL_SHM_CREATE_POOL, &wl_shm_pool_interface, NULL, fd, size);
1685 
1686  return (struct wl_shm_pool *) id;
1687 }
1688 
1710  void (*release)(void *data,
1711  struct wl_buffer *wl_buffer);
1712 };
1713 
1717 static inline int
1718 wl_buffer_add_listener(struct wl_buffer *wl_buffer,
1719  const struct wl_buffer_listener *listener, void *data)
1720 {
1721  return wl_proxy_add_listener((struct wl_proxy *) wl_buffer,
1722  (void (**)(void)) listener, data);
1723 }
1724 
1725 #define WL_BUFFER_DESTROY 0
1726 
1730 #define WL_BUFFER_RELEASE_SINCE_VERSION 1
1731 
1735 #define WL_BUFFER_DESTROY_SINCE_VERSION 1
1736 
1738 static inline void
1739 wl_buffer_set_user_data(struct wl_buffer *wl_buffer, void *user_data)
1740 {
1741  wl_proxy_set_user_data((struct wl_proxy *) wl_buffer, user_data);
1742 }
1743 
1745 static inline void *
1746 wl_buffer_get_user_data(struct wl_buffer *wl_buffer)
1747 {
1748  return wl_proxy_get_user_data((struct wl_proxy *) wl_buffer);
1749 }
1750 
1751 static inline uint32_t
1752 wl_buffer_get_version(struct wl_buffer *wl_buffer)
1753 {
1754  return wl_proxy_get_version((struct wl_proxy *) wl_buffer);
1755 }
1756 
1765 static inline void
1766 wl_buffer_destroy(struct wl_buffer *wl_buffer)
1767 {
1768  wl_proxy_marshal((struct wl_proxy *) wl_buffer,
1770 
1771  wl_proxy_destroy((struct wl_proxy *) wl_buffer);
1772 }
1773 
1774 #ifndef WL_DATA_OFFER_ERROR_ENUM
1775 #define WL_DATA_OFFER_ERROR_ENUM
1793 };
1794 #endif /* WL_DATA_OFFER_ERROR_ENUM */
1795 
1808  void (*offer)(void *data,
1809  struct wl_data_offer *wl_data_offer,
1810  const char *mime_type);
1821  void (*source_actions)(void *data,
1822  struct wl_data_offer *wl_data_offer,
1823  uint32_t source_actions);
1867  void (*action)(void *data,
1868  struct wl_data_offer *wl_data_offer,
1869  uint32_t dnd_action);
1870 };
1871 
1875 static inline int
1876 wl_data_offer_add_listener(struct wl_data_offer *wl_data_offer,
1877  const struct wl_data_offer_listener *listener, void *data)
1878 {
1879  return wl_proxy_add_listener((struct wl_proxy *) wl_data_offer,
1880  (void (**)(void)) listener, data);
1881 }
1882 
1883 #define WL_DATA_OFFER_ACCEPT 0
1884 #define WL_DATA_OFFER_RECEIVE 1
1885 #define WL_DATA_OFFER_DESTROY 2
1886 #define WL_DATA_OFFER_FINISH 3
1887 #define WL_DATA_OFFER_SET_ACTIONS 4
1888 
1892 #define WL_DATA_OFFER_OFFER_SINCE_VERSION 1
1893 
1896 #define WL_DATA_OFFER_SOURCE_ACTIONS_SINCE_VERSION 3
1897 
1900 #define WL_DATA_OFFER_ACTION_SINCE_VERSION 3
1901 
1905 #define WL_DATA_OFFER_ACCEPT_SINCE_VERSION 1
1906 
1909 #define WL_DATA_OFFER_RECEIVE_SINCE_VERSION 1
1910 
1913 #define WL_DATA_OFFER_DESTROY_SINCE_VERSION 1
1914 
1917 #define WL_DATA_OFFER_FINISH_SINCE_VERSION 3
1918 
1921 #define WL_DATA_OFFER_SET_ACTIONS_SINCE_VERSION 3
1922 
1924 static inline void
1925 wl_data_offer_set_user_data(struct wl_data_offer *wl_data_offer, void *user_data)
1926 {
1927  wl_proxy_set_user_data((struct wl_proxy *) wl_data_offer, user_data);
1928 }
1929 
1931 static inline void *
1932 wl_data_offer_get_user_data(struct wl_data_offer *wl_data_offer)
1933 {
1934  return wl_proxy_get_user_data((struct wl_proxy *) wl_data_offer);
1935 }
1936 
1937 static inline uint32_t
1938 wl_data_offer_get_version(struct wl_data_offer *wl_data_offer)
1939 {
1940  return wl_proxy_get_version((struct wl_proxy *) wl_data_offer);
1941 }
1942 
1961 static inline void
1962 wl_data_offer_accept(struct wl_data_offer *wl_data_offer, uint32_t serial, const char *mime_type)
1963 {
1964  wl_proxy_marshal((struct wl_proxy *) wl_data_offer,
1965  WL_DATA_OFFER_ACCEPT, serial, mime_type);
1966 }
1967 
1987 static inline void
1988 wl_data_offer_receive(struct wl_data_offer *wl_data_offer, const char *mime_type, int32_t fd)
1989 {
1990  wl_proxy_marshal((struct wl_proxy *) wl_data_offer,
1991  WL_DATA_OFFER_RECEIVE, mime_type, fd);
1992 }
1993 
1999 static inline void
2000 wl_data_offer_destroy(struct wl_data_offer *wl_data_offer)
2001 {
2002  wl_proxy_marshal((struct wl_proxy *) wl_data_offer,
2004 
2005  wl_proxy_destroy((struct wl_proxy *) wl_data_offer);
2006 }
2007 
2023 static inline void
2024 wl_data_offer_finish(struct wl_data_offer *wl_data_offer)
2025 {
2026  wl_proxy_marshal((struct wl_proxy *) wl_data_offer,
2028 }
2029 
2065 static inline void
2066 wl_data_offer_set_actions(struct wl_data_offer *wl_data_offer, uint32_t dnd_actions, uint32_t preferred_action)
2067 {
2068  wl_proxy_marshal((struct wl_proxy *) wl_data_offer,
2069  WL_DATA_OFFER_SET_ACTIONS, dnd_actions, preferred_action);
2070 }
2071 
2072 #ifndef WL_DATA_SOURCE_ERROR_ENUM
2073 #define WL_DATA_SOURCE_ERROR_ENUM
2083 };
2084 #endif /* WL_DATA_SOURCE_ERROR_ENUM */
2085 
2100  void (*target)(void *data,
2101  struct wl_data_source *wl_data_source,
2102  const char *mime_type);
2112  void (*send)(void *data,
2113  struct wl_data_source *wl_data_source,
2114  const char *mime_type,
2115  int32_t fd);
2139  void (*cancelled)(void *data,
2140  struct wl_data_source *wl_data_source);
2157  void (*dnd_drop_performed)(void *data,
2158  struct wl_data_source *wl_data_source);
2170  void (*dnd_finished)(void *data,
2171  struct wl_data_source *wl_data_source);
2205  void (*action)(void *data,
2206  struct wl_data_source *wl_data_source,
2207  uint32_t dnd_action);
2208 };
2209 
2213 static inline int
2214 wl_data_source_add_listener(struct wl_data_source *wl_data_source,
2215  const struct wl_data_source_listener *listener, void *data)
2216 {
2217  return wl_proxy_add_listener((struct wl_proxy *) wl_data_source,
2218  (void (**)(void)) listener, data);
2219 }
2220 
2221 #define WL_DATA_SOURCE_OFFER 0
2222 #define WL_DATA_SOURCE_DESTROY 1
2223 #define WL_DATA_SOURCE_SET_ACTIONS 2
2224 
2228 #define WL_DATA_SOURCE_TARGET_SINCE_VERSION 1
2229 
2232 #define WL_DATA_SOURCE_SEND_SINCE_VERSION 1
2233 
2236 #define WL_DATA_SOURCE_CANCELLED_SINCE_VERSION 1
2237 
2240 #define WL_DATA_SOURCE_DND_DROP_PERFORMED_SINCE_VERSION 3
2241 
2244 #define WL_DATA_SOURCE_DND_FINISHED_SINCE_VERSION 3
2245 
2248 #define WL_DATA_SOURCE_ACTION_SINCE_VERSION 3
2249 
2253 #define WL_DATA_SOURCE_OFFER_SINCE_VERSION 1
2254 
2257 #define WL_DATA_SOURCE_DESTROY_SINCE_VERSION 1
2258 
2261 #define WL_DATA_SOURCE_SET_ACTIONS_SINCE_VERSION 3
2262 
2264 static inline void
2265 wl_data_source_set_user_data(struct wl_data_source *wl_data_source, void *user_data)
2266 {
2267  wl_proxy_set_user_data((struct wl_proxy *) wl_data_source, user_data);
2268 }
2269 
2271 static inline void *
2272 wl_data_source_get_user_data(struct wl_data_source *wl_data_source)
2273 {
2274  return wl_proxy_get_user_data((struct wl_proxy *) wl_data_source);
2275 }
2276 
2277 static inline uint32_t
2278 wl_data_source_get_version(struct wl_data_source *wl_data_source)
2279 {
2280  return wl_proxy_get_version((struct wl_proxy *) wl_data_source);
2281 }
2282 
2290 static inline void
2291 wl_data_source_offer(struct wl_data_source *wl_data_source, const char *mime_type)
2292 {
2293  wl_proxy_marshal((struct wl_proxy *) wl_data_source,
2294  WL_DATA_SOURCE_OFFER, mime_type);
2295 }
2296 
2302 static inline void
2303 wl_data_source_destroy(struct wl_data_source *wl_data_source)
2304 {
2305  wl_proxy_marshal((struct wl_proxy *) wl_data_source,
2307 
2308  wl_proxy_destroy((struct wl_proxy *) wl_data_source);
2309 }
2310 
2328 static inline void
2329 wl_data_source_set_actions(struct wl_data_source *wl_data_source, uint32_t dnd_actions)
2330 {
2331  wl_proxy_marshal((struct wl_proxy *) wl_data_source,
2332  WL_DATA_SOURCE_SET_ACTIONS, dnd_actions);
2333 }
2334 
2335 #ifndef WL_DATA_DEVICE_ERROR_ENUM
2336 #define WL_DATA_DEVICE_ERROR_ENUM
2342 };
2343 #endif /* WL_DATA_DEVICE_ERROR_ENUM */
2344 
2362  void (*data_offer)(void *data,
2363  struct wl_data_device *wl_data_device,
2364  struct wl_data_offer *id);
2378  void (*enter)(void *data,
2379  struct wl_data_device *wl_data_device,
2380  uint32_t serial,
2381  struct wl_surface *surface,
2382  wl_fixed_t x,
2383  wl_fixed_t y,
2384  struct wl_data_offer *id);
2392  void (*leave)(void *data,
2393  struct wl_data_device *wl_data_device);
2405  void (*motion)(void *data,
2406  struct wl_data_device *wl_data_device,
2407  uint32_t time,
2408  wl_fixed_t x,
2409  wl_fixed_t y);
2427  void (*drop)(void *data,
2428  struct wl_data_device *wl_data_device);
2444  void (*selection)(void *data,
2445  struct wl_data_device *wl_data_device,
2446  struct wl_data_offer *id);
2447 };
2448 
2452 static inline int
2453 wl_data_device_add_listener(struct wl_data_device *wl_data_device,
2454  const struct wl_data_device_listener *listener, void *data)
2455 {
2456  return wl_proxy_add_listener((struct wl_proxy *) wl_data_device,
2457  (void (**)(void)) listener, data);
2458 }
2459 
2460 #define WL_DATA_DEVICE_START_DRAG 0
2461 #define WL_DATA_DEVICE_SET_SELECTION 1
2462 #define WL_DATA_DEVICE_RELEASE 2
2463 
2467 #define WL_DATA_DEVICE_DATA_OFFER_SINCE_VERSION 1
2468 
2471 #define WL_DATA_DEVICE_ENTER_SINCE_VERSION 1
2472 
2475 #define WL_DATA_DEVICE_LEAVE_SINCE_VERSION 1
2476 
2479 #define WL_DATA_DEVICE_MOTION_SINCE_VERSION 1
2480 
2483 #define WL_DATA_DEVICE_DROP_SINCE_VERSION 1
2484 
2487 #define WL_DATA_DEVICE_SELECTION_SINCE_VERSION 1
2488 
2492 #define WL_DATA_DEVICE_START_DRAG_SINCE_VERSION 1
2493 
2496 #define WL_DATA_DEVICE_SET_SELECTION_SINCE_VERSION 1
2497 
2500 #define WL_DATA_DEVICE_RELEASE_SINCE_VERSION 2
2501 
2503 static inline void
2504 wl_data_device_set_user_data(struct wl_data_device *wl_data_device, void *user_data)
2505 {
2506  wl_proxy_set_user_data((struct wl_proxy *) wl_data_device, user_data);
2507 }
2508 
2510 static inline void *
2511 wl_data_device_get_user_data(struct wl_data_device *wl_data_device)
2512 {
2513  return wl_proxy_get_user_data((struct wl_proxy *) wl_data_device);
2514 }
2515 
2516 static inline uint32_t
2517 wl_data_device_get_version(struct wl_data_device *wl_data_device)
2518 {
2519  return wl_proxy_get_version((struct wl_proxy *) wl_data_device);
2520 }
2521 
2523 static inline void
2524 wl_data_device_destroy(struct wl_data_device *wl_data_device)
2525 {
2526  wl_proxy_destroy((struct wl_proxy *) wl_data_device);
2527 }
2528 
2560 static inline void
2561 wl_data_device_start_drag(struct wl_data_device *wl_data_device, struct wl_data_source *source, struct wl_surface *origin, struct wl_surface *icon, uint32_t serial)
2562 {
2563  wl_proxy_marshal((struct wl_proxy *) wl_data_device,
2564  WL_DATA_DEVICE_START_DRAG, source, origin, icon, serial);
2565 }
2566 
2575 static inline void
2576 wl_data_device_set_selection(struct wl_data_device *wl_data_device, struct wl_data_source *source, uint32_t serial)
2577 {
2578  wl_proxy_marshal((struct wl_proxy *) wl_data_device,
2579  WL_DATA_DEVICE_SET_SELECTION, source, serial);
2580 }
2581 
2587 static inline void
2588 wl_data_device_release(struct wl_data_device *wl_data_device)
2589 {
2590  wl_proxy_marshal((struct wl_proxy *) wl_data_device,
2592 
2593  wl_proxy_destroy((struct wl_proxy *) wl_data_device);
2594 }
2595 
2596 #ifndef WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM
2597 #define WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM
2598 
2643 };
2644 #endif /* WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM */
2645 
2646 #define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE 0
2647 #define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE 1
2648 
2649 
2653 #define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE_SINCE_VERSION 1
2654 
2657 #define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE_SINCE_VERSION 1
2658 
2660 static inline void
2661 wl_data_device_manager_set_user_data(struct wl_data_device_manager *wl_data_device_manager, void *user_data)
2662 {
2663  wl_proxy_set_user_data((struct wl_proxy *) wl_data_device_manager, user_data);
2664 }
2665 
2667 static inline void *
2668 wl_data_device_manager_get_user_data(struct wl_data_device_manager *wl_data_device_manager)
2669 {
2670  return wl_proxy_get_user_data((struct wl_proxy *) wl_data_device_manager);
2671 }
2672 
2673 static inline uint32_t
2674 wl_data_device_manager_get_version(struct wl_data_device_manager *wl_data_device_manager)
2675 {
2676  return wl_proxy_get_version((struct wl_proxy *) wl_data_device_manager);
2677 }
2678 
2680 static inline void
2681 wl_data_device_manager_destroy(struct wl_data_device_manager *wl_data_device_manager)
2682 {
2683  wl_proxy_destroy((struct wl_proxy *) wl_data_device_manager);
2684 }
2685 
2691 static inline struct wl_data_source *
2692 wl_data_device_manager_create_data_source(struct wl_data_device_manager *wl_data_device_manager)
2693 {
2694  struct wl_proxy *id;
2695 
2696  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_data_device_manager,
2698 
2699  return (struct wl_data_source *) id;
2700 }
2701 
2707 static inline struct wl_data_device *
2708 wl_data_device_manager_get_data_device(struct wl_data_device_manager *wl_data_device_manager, struct wl_seat *seat)
2709 {
2710  struct wl_proxy *id;
2711 
2712  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_data_device_manager,
2714 
2715  return (struct wl_data_device *) id;
2716 }
2717 
2718 #ifndef WL_SHELL_ERROR_ENUM
2719 #define WL_SHELL_ERROR_ENUM
2725 };
2726 #endif /* WL_SHELL_ERROR_ENUM */
2727 
2728 #define WL_SHELL_GET_SHELL_SURFACE 0
2729 
2730 
2734 #define WL_SHELL_GET_SHELL_SURFACE_SINCE_VERSION 1
2735 
2737 static inline void
2738 wl_shell_set_user_data(struct wl_shell *wl_shell, void *user_data)
2739 {
2740  wl_proxy_set_user_data((struct wl_proxy *) wl_shell, user_data);
2741 }
2742 
2744 static inline void *
2745 wl_shell_get_user_data(struct wl_shell *wl_shell)
2746 {
2747  return wl_proxy_get_user_data((struct wl_proxy *) wl_shell);
2748 }
2749 
2750 static inline uint32_t
2751 wl_shell_get_version(struct wl_shell *wl_shell)
2752 {
2753  return wl_proxy_get_version((struct wl_proxy *) wl_shell);
2754 }
2755 
2757 static inline void
2758 wl_shell_destroy(struct wl_shell *wl_shell)
2759 {
2760  wl_proxy_destroy((struct wl_proxy *) wl_shell);
2761 }
2762 
2772 static inline struct wl_shell_surface *
2773 wl_shell_get_shell_surface(struct wl_shell *wl_shell, struct wl_surface *surface)
2774 {
2775  struct wl_proxy *id;
2776 
2777  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_shell,
2779 
2780  return (struct wl_shell_surface *) id;
2781 }
2782 
2783 #ifndef WL_SHELL_SURFACE_RESIZE_ENUM
2784 #define WL_SHELL_SURFACE_RESIZE_ENUM
2785 
2831 };
2832 #endif /* WL_SHELL_SURFACE_RESIZE_ENUM */
2833 
2834 #ifndef WL_SHELL_SURFACE_TRANSIENT_ENUM
2835 #define WL_SHELL_SURFACE_TRANSIENT_ENUM
2836 
2848 };
2849 #endif /* WL_SHELL_SURFACE_TRANSIENT_ENUM */
2850 
2851 #ifndef WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM
2852 #define WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM
2853 
2878 };
2879 #endif /* WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM */
2880 
2893  void (*ping)(void *data,
2894  struct wl_shell_surface *wl_shell_surface,
2895  uint32_t serial);
2920  void (*configure)(void *data,
2921  struct wl_shell_surface *wl_shell_surface,
2922  uint32_t edges,
2923  int32_t width,
2924  int32_t height);
2932  void (*popup_done)(void *data,
2933  struct wl_shell_surface *wl_shell_surface);
2934 };
2935 
2939 static inline int
2940 wl_shell_surface_add_listener(struct wl_shell_surface *wl_shell_surface,
2941  const struct wl_shell_surface_listener *listener, void *data)
2942 {
2943  return wl_proxy_add_listener((struct wl_proxy *) wl_shell_surface,
2944  (void (**)(void)) listener, data);
2945 }
2946 
2947 #define WL_SHELL_SURFACE_PONG 0
2948 #define WL_SHELL_SURFACE_MOVE 1
2949 #define WL_SHELL_SURFACE_RESIZE 2
2950 #define WL_SHELL_SURFACE_SET_TOPLEVEL 3
2951 #define WL_SHELL_SURFACE_SET_TRANSIENT 4
2952 #define WL_SHELL_SURFACE_SET_FULLSCREEN 5
2953 #define WL_SHELL_SURFACE_SET_POPUP 6
2954 #define WL_SHELL_SURFACE_SET_MAXIMIZED 7
2955 #define WL_SHELL_SURFACE_SET_TITLE 8
2956 #define WL_SHELL_SURFACE_SET_CLASS 9
2957 
2961 #define WL_SHELL_SURFACE_PING_SINCE_VERSION 1
2962 
2965 #define WL_SHELL_SURFACE_CONFIGURE_SINCE_VERSION 1
2966 
2969 #define WL_SHELL_SURFACE_POPUP_DONE_SINCE_VERSION 1
2970 
2974 #define WL_SHELL_SURFACE_PONG_SINCE_VERSION 1
2975 
2978 #define WL_SHELL_SURFACE_MOVE_SINCE_VERSION 1
2979 
2982 #define WL_SHELL_SURFACE_RESIZE_SINCE_VERSION 1
2983 
2986 #define WL_SHELL_SURFACE_SET_TOPLEVEL_SINCE_VERSION 1
2987 
2990 #define WL_SHELL_SURFACE_SET_TRANSIENT_SINCE_VERSION 1
2991 
2994 #define WL_SHELL_SURFACE_SET_FULLSCREEN_SINCE_VERSION 1
2995 
2998 #define WL_SHELL_SURFACE_SET_POPUP_SINCE_VERSION 1
2999 
3002 #define WL_SHELL_SURFACE_SET_MAXIMIZED_SINCE_VERSION 1
3003 
3006 #define WL_SHELL_SURFACE_SET_TITLE_SINCE_VERSION 1
3007 
3010 #define WL_SHELL_SURFACE_SET_CLASS_SINCE_VERSION 1
3011 
3013 static inline void
3014 wl_shell_surface_set_user_data(struct wl_shell_surface *wl_shell_surface, void *user_data)
3015 {
3016  wl_proxy_set_user_data((struct wl_proxy *) wl_shell_surface, user_data);
3017 }
3018 
3020 static inline void *
3021 wl_shell_surface_get_user_data(struct wl_shell_surface *wl_shell_surface)
3022 {
3023  return wl_proxy_get_user_data((struct wl_proxy *) wl_shell_surface);
3024 }
3025 
3026 static inline uint32_t
3027 wl_shell_surface_get_version(struct wl_shell_surface *wl_shell_surface)
3028 {
3029  return wl_proxy_get_version((struct wl_proxy *) wl_shell_surface);
3030 }
3031 
3033 static inline void
3034 wl_shell_surface_destroy(struct wl_shell_surface *wl_shell_surface)
3035 {
3036  wl_proxy_destroy((struct wl_proxy *) wl_shell_surface);
3037 }
3038 
3045 static inline void
3046 wl_shell_surface_pong(struct wl_shell_surface *wl_shell_surface, uint32_t serial)
3047 {
3048  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3049  WL_SHELL_SURFACE_PONG, serial);
3050 }
3051 
3061 static inline void
3062 wl_shell_surface_move(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial)
3063 {
3064  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3065  WL_SHELL_SURFACE_MOVE, seat, serial);
3066 }
3067 
3077 static inline void
3078 wl_shell_surface_resize(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial, uint32_t edges)
3079 {
3080  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3081  WL_SHELL_SURFACE_RESIZE, seat, serial, edges);
3082 }
3083 
3091 static inline void
3092 wl_shell_surface_set_toplevel(struct wl_shell_surface *wl_shell_surface)
3093 {
3094  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3096 }
3097 
3109 static inline void
3110 wl_shell_surface_set_transient(struct wl_shell_surface *wl_shell_surface, struct wl_surface *parent, int32_t x, int32_t y, uint32_t flags)
3111 {
3112  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3113  WL_SHELL_SURFACE_SET_TRANSIENT, parent, x, y, flags);
3114 }
3115 
3153 static inline void
3154 wl_shell_surface_set_fullscreen(struct wl_shell_surface *wl_shell_surface, uint32_t method, uint32_t framerate, struct wl_output *output)
3155 {
3156  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3157  WL_SHELL_SURFACE_SET_FULLSCREEN, method, framerate, output);
3158 }
3159 
3183 static inline void
3184 wl_shell_surface_set_popup(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial, struct wl_surface *parent, int32_t x, int32_t y, uint32_t flags)
3185 {
3186  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3187  WL_SHELL_SURFACE_SET_POPUP, seat, serial, parent, x, y, flags);
3188 }
3189 
3212 static inline void
3213 wl_shell_surface_set_maximized(struct wl_shell_surface *wl_shell_surface, struct wl_output *output)
3214 {
3215  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3217 }
3218 
3230 static inline void
3231 wl_shell_surface_set_title(struct wl_shell_surface *wl_shell_surface, const char *title)
3232 {
3233  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3235 }
3236 
3247 static inline void
3248 wl_shell_surface_set_class(struct wl_shell_surface *wl_shell_surface, const char *class_)
3249 {
3250  wl_proxy_marshal((struct wl_proxy *) wl_shell_surface,
3251  WL_SHELL_SURFACE_SET_CLASS, class_);
3252 }
3253 
3254 #ifndef WL_SURFACE_ERROR_ENUM
3255 #define WL_SURFACE_ERROR_ENUM
3256 
3271 };
3272 #endif /* WL_SURFACE_ERROR_ENUM */
3273 
3290  void (*enter)(void *data,
3291  struct wl_surface *wl_surface,
3292  struct wl_output *output);
3301  void (*leave)(void *data,
3302  struct wl_surface *wl_surface,
3303  struct wl_output *output);
3304 };
3305 
3309 static inline int
3310 wl_surface_add_listener(struct wl_surface *wl_surface,
3311  const struct wl_surface_listener *listener, void *data)
3312 {
3313  return wl_proxy_add_listener((struct wl_proxy *) wl_surface,
3314  (void (**)(void)) listener, data);
3315 }
3316 
3317 #define WL_SURFACE_DESTROY 0
3318 #define WL_SURFACE_ATTACH 1
3319 #define WL_SURFACE_DAMAGE 2
3320 #define WL_SURFACE_FRAME 3
3321 #define WL_SURFACE_SET_OPAQUE_REGION 4
3322 #define WL_SURFACE_SET_INPUT_REGION 5
3323 #define WL_SURFACE_COMMIT 6
3324 #define WL_SURFACE_SET_BUFFER_TRANSFORM 7
3325 #define WL_SURFACE_SET_BUFFER_SCALE 8
3326 #define WL_SURFACE_DAMAGE_BUFFER 9
3327 
3331 #define WL_SURFACE_ENTER_SINCE_VERSION 1
3332 
3335 #define WL_SURFACE_LEAVE_SINCE_VERSION 1
3336 
3340 #define WL_SURFACE_DESTROY_SINCE_VERSION 1
3341 
3344 #define WL_SURFACE_ATTACH_SINCE_VERSION 1
3345 
3348 #define WL_SURFACE_DAMAGE_SINCE_VERSION 1
3349 
3352 #define WL_SURFACE_FRAME_SINCE_VERSION 1
3353 
3356 #define WL_SURFACE_SET_OPAQUE_REGION_SINCE_VERSION 1
3357 
3360 #define WL_SURFACE_SET_INPUT_REGION_SINCE_VERSION 1
3361 
3364 #define WL_SURFACE_COMMIT_SINCE_VERSION 1
3365 
3368 #define WL_SURFACE_SET_BUFFER_TRANSFORM_SINCE_VERSION 2
3369 
3372 #define WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION 3
3373 
3376 #define WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION 4
3377 
3379 static inline void
3380 wl_surface_set_user_data(struct wl_surface *wl_surface, void *user_data)
3381 {
3382  wl_proxy_set_user_data((struct wl_proxy *) wl_surface, user_data);
3383 }
3384 
3386 static inline void *
3387 wl_surface_get_user_data(struct wl_surface *wl_surface)
3388 {
3389  return wl_proxy_get_user_data((struct wl_proxy *) wl_surface);
3390 }
3391 
3392 static inline uint32_t
3393 wl_surface_get_version(struct wl_surface *wl_surface)
3394 {
3395  return wl_proxy_get_version((struct wl_proxy *) wl_surface);
3396 }
3397 
3403 static inline void
3404 wl_surface_destroy(struct wl_surface *wl_surface)
3405 {
3406  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3408 
3409  wl_proxy_destroy((struct wl_proxy *) wl_surface);
3410 }
3411 
3455 static inline void
3456 wl_surface_attach(struct wl_surface *wl_surface, struct wl_buffer *buffer, int32_t x, int32_t y)
3457 {
3458  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3459  WL_SURFACE_ATTACH, buffer, x, y);
3460 }
3461 
3487 static inline void
3488 wl_surface_damage(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height)
3489 {
3490  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3491  WL_SURFACE_DAMAGE, x, y, width, height);
3492 }
3493 
3530 static inline struct wl_callback *
3531 wl_surface_frame(struct wl_surface *wl_surface)
3532 {
3533  struct wl_proxy *callback;
3534 
3535  callback = wl_proxy_marshal_constructor((struct wl_proxy *) wl_surface,
3537 
3538  return (struct wl_callback *) callback;
3539 }
3540 
3569 static inline void
3570 wl_surface_set_opaque_region(struct wl_surface *wl_surface, struct wl_region *region)
3571 {
3572  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3574 }
3575 
3602 static inline void
3603 wl_surface_set_input_region(struct wl_surface *wl_surface, struct wl_region *region)
3604 {
3605  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3606  WL_SURFACE_SET_INPUT_REGION, region);
3607 }
3608 
3630 static inline void
3631 wl_surface_commit(struct wl_surface *wl_surface)
3632 {
3633  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3635 }
3636 
3670 static inline void
3671 wl_surface_set_buffer_transform(struct wl_surface *wl_surface, int32_t transform)
3672 {
3673  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3674  WL_SURFACE_SET_BUFFER_TRANSFORM, transform);
3675 }
3676 
3704 static inline void
3705 wl_surface_set_buffer_scale(struct wl_surface *wl_surface, int32_t scale)
3706 {
3707  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3709 }
3710 
3747 static inline void
3748 wl_surface_damage_buffer(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height)
3749 {
3750  wl_proxy_marshal((struct wl_proxy *) wl_surface,
3751  WL_SURFACE_DAMAGE_BUFFER, x, y, width, height);
3752 }
3753 
3754 #ifndef WL_SEAT_CAPABILITY_ENUM
3755 #define WL_SEAT_CAPABILITY_ENUM
3756 
3776 };
3777 #endif /* WL_SEAT_CAPABILITY_ENUM */
3778 
3814  void (*capabilities)(void *data,
3815  struct wl_seat *wl_seat,
3816  uint32_t capabilities);
3826  void (*name)(void *data,
3827  struct wl_seat *wl_seat,
3828  const char *name);
3829 };
3830 
3834 static inline int
3835 wl_seat_add_listener(struct wl_seat *wl_seat,
3836  const struct wl_seat_listener *listener, void *data)
3837 {
3838  return wl_proxy_add_listener((struct wl_proxy *) wl_seat,
3839  (void (**)(void)) listener, data);
3840 }
3841 
3842 #define WL_SEAT_GET_POINTER 0
3843 #define WL_SEAT_GET_KEYBOARD 1
3844 #define WL_SEAT_GET_TOUCH 2
3845 #define WL_SEAT_RELEASE 3
3846 
3850 #define WL_SEAT_CAPABILITIES_SINCE_VERSION 1
3851 
3854 #define WL_SEAT_NAME_SINCE_VERSION 2
3855 
3859 #define WL_SEAT_GET_POINTER_SINCE_VERSION 1
3860 
3863 #define WL_SEAT_GET_KEYBOARD_SINCE_VERSION 1
3864 
3867 #define WL_SEAT_GET_TOUCH_SINCE_VERSION 1
3868 
3871 #define WL_SEAT_RELEASE_SINCE_VERSION 5
3872 
3874 static inline void
3875 wl_seat_set_user_data(struct wl_seat *wl_seat, void *user_data)
3876 {
3877  wl_proxy_set_user_data((struct wl_proxy *) wl_seat, user_data);
3878 }
3879 
3881 static inline void *
3882 wl_seat_get_user_data(struct wl_seat *wl_seat)
3883 {
3884  return wl_proxy_get_user_data((struct wl_proxy *) wl_seat);
3885 }
3886 
3887 static inline uint32_t
3888 wl_seat_get_version(struct wl_seat *wl_seat)
3889 {
3890  return wl_proxy_get_version((struct wl_proxy *) wl_seat);
3891 }
3892 
3894 static inline void
3895 wl_seat_destroy(struct wl_seat *wl_seat)
3896 {
3897  wl_proxy_destroy((struct wl_proxy *) wl_seat);
3898 }
3899 
3911 static inline struct wl_pointer *
3912 wl_seat_get_pointer(struct wl_seat *wl_seat)
3913 {
3914  struct wl_proxy *id;
3915 
3916  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_seat,
3918 
3919  return (struct wl_pointer *) id;
3920 }
3921 
3933 static inline struct wl_keyboard *
3934 wl_seat_get_keyboard(struct wl_seat *wl_seat)
3935 {
3936  struct wl_proxy *id;
3937 
3938  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_seat,
3940 
3941  return (struct wl_keyboard *) id;
3942 }
3943 
3955 static inline struct wl_touch *
3956 wl_seat_get_touch(struct wl_seat *wl_seat)
3957 {
3958  struct wl_proxy *id;
3959 
3960  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_seat,
3962 
3963  return (struct wl_touch *) id;
3964 }
3965 
3972 static inline void
3973 wl_seat_release(struct wl_seat *wl_seat)
3974 {
3975  wl_proxy_marshal((struct wl_proxy *) wl_seat,
3976  WL_SEAT_RELEASE);
3977 
3978  wl_proxy_destroy((struct wl_proxy *) wl_seat);
3979 }
3980 
3981 #ifndef WL_POINTER_ERROR_ENUM
3982 #define WL_POINTER_ERROR_ENUM
3988 };
3989 #endif /* WL_POINTER_ERROR_ENUM */
3990 
3991 #ifndef WL_POINTER_BUTTON_STATE_ENUM
3992 #define WL_POINTER_BUTTON_STATE_ENUM
3993 
4009 };
4010 #endif /* WL_POINTER_BUTTON_STATE_ENUM */
4011 
4012 #ifndef WL_POINTER_AXIS_ENUM
4013 #define WL_POINTER_AXIS_ENUM
4014 
4029 };
4030 #endif /* WL_POINTER_AXIS_ENUM */
4031 
4032 #ifndef WL_POINTER_AXIS_SOURCE_ENUM
4033 #define WL_POINTER_AXIS_SOURCE_ENUM
4034 
4073 };
4077 #define WL_POINTER_AXIS_SOURCE_WHEEL_TILT_SINCE_VERSION 6
4078 #endif /* WL_POINTER_AXIS_SOURCE_ENUM */
4079 
4099  void (*enter)(void *data,
4100  struct wl_pointer *wl_pointer,
4101  uint32_t serial,
4102  struct wl_surface *surface,
4103  wl_fixed_t surface_x,
4104  wl_fixed_t surface_y);
4116  void (*leave)(void *data,
4117  struct wl_pointer *wl_pointer,
4118  uint32_t serial,
4119  struct wl_surface *surface);
4130  void (*motion)(void *data,
4131  struct wl_pointer *wl_pointer,
4132  uint32_t time,
4133  wl_fixed_t surface_x,
4134  wl_fixed_t surface_y);
4156  void (*button)(void *data,
4157  struct wl_pointer *wl_pointer,
4158  uint32_t serial,
4159  uint32_t time,
4160  uint32_t button,
4161  uint32_t state);
4185  void (*axis)(void *data,
4186  struct wl_pointer *wl_pointer,
4187  uint32_t time,
4188  uint32_t axis,
4189  wl_fixed_t value);
4229  void (*frame)(void *data,
4230  struct wl_pointer *wl_pointer);
4262  void (*axis_source)(void *data,
4263  struct wl_pointer *wl_pointer,
4264  uint32_t axis_source);
4286  void (*axis_stop)(void *data,
4287  struct wl_pointer *wl_pointer,
4288  uint32_t time,
4289  uint32_t axis);
4324  void (*axis_discrete)(void *data,
4325  struct wl_pointer *wl_pointer,
4326  uint32_t axis,
4327  int32_t discrete);
4328 };
4329 
4333 static inline int
4334 wl_pointer_add_listener(struct wl_pointer *wl_pointer,
4335  const struct wl_pointer_listener *listener, void *data)
4336 {
4337  return wl_proxy_add_listener((struct wl_proxy *) wl_pointer,
4338  (void (**)(void)) listener, data);
4339 }
4340 
4341 #define WL_POINTER_SET_CURSOR 0
4342 #define WL_POINTER_RELEASE 1
4343 
4347 #define WL_POINTER_ENTER_SINCE_VERSION 1
4348 
4351 #define WL_POINTER_LEAVE_SINCE_VERSION 1
4352 
4355 #define WL_POINTER_MOTION_SINCE_VERSION 1
4356 
4359 #define WL_POINTER_BUTTON_SINCE_VERSION 1
4360 
4363 #define WL_POINTER_AXIS_SINCE_VERSION 1
4364 
4367 #define WL_POINTER_FRAME_SINCE_VERSION 5
4368 
4371 #define WL_POINTER_AXIS_SOURCE_SINCE_VERSION 5
4372 
4375 #define WL_POINTER_AXIS_STOP_SINCE_VERSION 5
4376 
4379 #define WL_POINTER_AXIS_DISCRETE_SINCE_VERSION 5
4380 
4384 #define WL_POINTER_SET_CURSOR_SINCE_VERSION 1
4385 
4388 #define WL_POINTER_RELEASE_SINCE_VERSION 3
4389 
4391 static inline void
4392 wl_pointer_set_user_data(struct wl_pointer *wl_pointer, void *user_data)
4393 {
4394  wl_proxy_set_user_data((struct wl_proxy *) wl_pointer, user_data);
4395 }
4396 
4398 static inline void *
4399 wl_pointer_get_user_data(struct wl_pointer *wl_pointer)
4400 {
4401  return wl_proxy_get_user_data((struct wl_proxy *) wl_pointer);
4402 }
4403 
4404 static inline uint32_t
4405 wl_pointer_get_version(struct wl_pointer *wl_pointer)
4406 {
4407  return wl_proxy_get_version((struct wl_proxy *) wl_pointer);
4408 }
4409 
4411 static inline void
4412 wl_pointer_destroy(struct wl_pointer *wl_pointer)
4413 {
4414  wl_proxy_destroy((struct wl_proxy *) wl_pointer);
4415 }
4416 
4452 static inline void
4453 wl_pointer_set_cursor(struct wl_pointer *wl_pointer, uint32_t serial, struct wl_surface *surface, int32_t hotspot_x, int32_t hotspot_y)
4454 {
4455  wl_proxy_marshal((struct wl_proxy *) wl_pointer,
4456  WL_POINTER_SET_CURSOR, serial, surface, hotspot_x, hotspot_y);
4457 }
4458 
4468 static inline void
4469 wl_pointer_release(struct wl_pointer *wl_pointer)
4470 {
4471  wl_proxy_marshal((struct wl_proxy *) wl_pointer,
4473 
4474  wl_proxy_destroy((struct wl_proxy *) wl_pointer);
4475 }
4476 
4477 #ifndef WL_KEYBOARD_KEYMAP_FORMAT_ENUM
4478 #define WL_KEYBOARD_KEYMAP_FORMAT_ENUM
4479 
4495 };
4496 #endif /* WL_KEYBOARD_KEYMAP_FORMAT_ENUM */
4497 
4498 #ifndef WL_KEYBOARD_KEY_STATE_ENUM
4499 #define WL_KEYBOARD_KEY_STATE_ENUM
4500 
4515 };
4516 #endif /* WL_KEYBOARD_KEY_STATE_ENUM */
4517 
4532  void (*keymap)(void *data,
4533  struct wl_keyboard *wl_keyboard,
4534  uint32_t format,
4535  int32_t fd,
4536  uint32_t size);
4546  void (*enter)(void *data,
4547  struct wl_keyboard *wl_keyboard,
4548  uint32_t serial,
4549  struct wl_surface *surface,
4550  struct wl_array *keys);
4562  void (*leave)(void *data,
4563  struct wl_keyboard *wl_keyboard,
4564  uint32_t serial,
4565  struct wl_surface *surface);
4576  void (*key)(void *data,
4577  struct wl_keyboard *wl_keyboard,
4578  uint32_t serial,
4579  uint32_t time,
4580  uint32_t key,
4581  uint32_t state);
4593  void (*modifiers)(void *data,
4594  struct wl_keyboard *wl_keyboard,
4595  uint32_t serial,
4596  uint32_t mods_depressed,
4597  uint32_t mods_latched,
4598  uint32_t mods_locked,
4599  uint32_t group);
4620  void (*repeat_info)(void *data,
4621  struct wl_keyboard *wl_keyboard,
4622  int32_t rate,
4623  int32_t delay);
4624 };
4625 
4629 static inline int
4630 wl_keyboard_add_listener(struct wl_keyboard *wl_keyboard,
4631  const struct wl_keyboard_listener *listener, void *data)
4632 {
4633  return wl_proxy_add_listener((struct wl_proxy *) wl_keyboard,
4634  (void (**)(void)) listener, data);
4635 }
4636 
4637 #define WL_KEYBOARD_RELEASE 0
4638 
4642 #define WL_KEYBOARD_KEYMAP_SINCE_VERSION 1
4643 
4646 #define WL_KEYBOARD_ENTER_SINCE_VERSION 1
4647 
4650 #define WL_KEYBOARD_LEAVE_SINCE_VERSION 1
4651 
4654 #define WL_KEYBOARD_KEY_SINCE_VERSION 1
4655 
4658 #define WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1
4659 
4662 #define WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4
4663 
4667 #define WL_KEYBOARD_RELEASE_SINCE_VERSION 3
4668 
4670 static inline void
4671 wl_keyboard_set_user_data(struct wl_keyboard *wl_keyboard, void *user_data)
4672 {
4673  wl_proxy_set_user_data((struct wl_proxy *) wl_keyboard, user_data);
4674 }
4675 
4677 static inline void *
4678 wl_keyboard_get_user_data(struct wl_keyboard *wl_keyboard)
4679 {
4680  return wl_proxy_get_user_data((struct wl_proxy *) wl_keyboard);
4681 }
4682 
4683 static inline uint32_t
4684 wl_keyboard_get_version(struct wl_keyboard *wl_keyboard)
4685 {
4686  return wl_proxy_get_version((struct wl_proxy *) wl_keyboard);
4687 }
4688 
4690 static inline void
4691 wl_keyboard_destroy(struct wl_keyboard *wl_keyboard)
4692 {
4693  wl_proxy_destroy((struct wl_proxy *) wl_keyboard);
4694 }
4695 
4699 static inline void
4700 wl_keyboard_release(struct wl_keyboard *wl_keyboard)
4701 {
4702  wl_proxy_marshal((struct wl_proxy *) wl_keyboard,
4704 
4705  wl_proxy_destroy((struct wl_proxy *) wl_keyboard);
4706 }
4707 
4727  void (*down)(void *data,
4728  struct wl_touch *wl_touch,
4729  uint32_t serial,
4730  uint32_t time,
4731  struct wl_surface *surface,
4732  int32_t id,
4733  wl_fixed_t x,
4734  wl_fixed_t y);
4745  void (*up)(void *data,
4746  struct wl_touch *wl_touch,
4747  uint32_t serial,
4748  uint32_t time,
4749  int32_t id);
4759  void (*motion)(void *data,
4760  struct wl_touch *wl_touch,
4761  uint32_t time,
4762  int32_t id,
4763  wl_fixed_t x,
4764  wl_fixed_t y);
4777  void (*frame)(void *data,
4778  struct wl_touch *wl_touch);
4789  void (*cancel)(void *data,
4790  struct wl_touch *wl_touch);
4825  void (*shape)(void *data,
4826  struct wl_touch *wl_touch,
4827  int32_t id,
4828  wl_fixed_t major,
4829  wl_fixed_t minor);
4860  void (*orientation)(void *data,
4861  struct wl_touch *wl_touch,
4862  int32_t id,
4863  wl_fixed_t orientation);
4864 };
4865 
4869 static inline int
4870 wl_touch_add_listener(struct wl_touch *wl_touch,
4871  const struct wl_touch_listener *listener, void *data)
4872 {
4873  return wl_proxy_add_listener((struct wl_proxy *) wl_touch,
4874  (void (**)(void)) listener, data);
4875 }
4876 
4877 #define WL_TOUCH_RELEASE 0
4878 
4882 #define WL_TOUCH_DOWN_SINCE_VERSION 1
4883 
4886 #define WL_TOUCH_UP_SINCE_VERSION 1
4887 
4890 #define WL_TOUCH_MOTION_SINCE_VERSION 1
4891 
4894 #define WL_TOUCH_FRAME_SINCE_VERSION 1
4895 
4898 #define WL_TOUCH_CANCEL_SINCE_VERSION 1
4899 
4902 #define WL_TOUCH_SHAPE_SINCE_VERSION 6
4903 
4906 #define WL_TOUCH_ORIENTATION_SINCE_VERSION 6
4907 
4911 #define WL_TOUCH_RELEASE_SINCE_VERSION 3
4912 
4914 static inline void
4915 wl_touch_set_user_data(struct wl_touch *wl_touch, void *user_data)
4916 {
4917  wl_proxy_set_user_data((struct wl_proxy *) wl_touch, user_data);
4918 }
4919 
4921 static inline void *
4922 wl_touch_get_user_data(struct wl_touch *wl_touch)
4923 {
4924  return wl_proxy_get_user_data((struct wl_proxy *) wl_touch);
4925 }
4926 
4927 static inline uint32_t
4928 wl_touch_get_version(struct wl_touch *wl_touch)
4929 {
4930  return wl_proxy_get_version((struct wl_proxy *) wl_touch);
4931 }
4932 
4934 static inline void
4935 wl_touch_destroy(struct wl_touch *wl_touch)
4936 {
4937  wl_proxy_destroy((struct wl_proxy *) wl_touch);
4938 }
4939 
4943 static inline void
4944 wl_touch_release(struct wl_touch *wl_touch)
4945 {
4946  wl_proxy_marshal((struct wl_proxy *) wl_touch,
4948 
4949  wl_proxy_destroy((struct wl_proxy *) wl_touch);
4950 }
4951 
4952 #ifndef WL_OUTPUT_SUBPIXEL_ENUM
4953 #define WL_OUTPUT_SUBPIXEL_ENUM
4954 
4986 };
4987 #endif /* WL_OUTPUT_SUBPIXEL_ENUM */
4988 
4989 #ifndef WL_OUTPUT_TRANSFORM_ENUM
4990 #define WL_OUTPUT_TRANSFORM_ENUM
4991 
5040 };
5041 #endif /* WL_OUTPUT_TRANSFORM_ENUM */
5042 
5043 #ifndef WL_OUTPUT_MODE_ENUM
5044 #define WL_OUTPUT_MODE_ENUM
5045 
5061 };
5062 #endif /* WL_OUTPUT_MODE_ENUM */
5063 
5084  void (*geometry)(void *data,
5085  struct wl_output *wl_output,
5086  int32_t x,
5087  int32_t y,
5088  int32_t physical_width,
5089  int32_t physical_height,
5090  int32_t subpixel,
5091  const char *make,
5092  const char *model,
5093  int32_t transform);
5115  void (*mode)(void *data,
5116  struct wl_output *wl_output,
5117  uint32_t flags,
5118  int32_t width,
5119  int32_t height,
5120  int32_t refresh);
5131  void (*done)(void *data,
5132  struct wl_output *wl_output);
5155  void (*scale)(void *data,
5156  struct wl_output *wl_output,
5157  int32_t factor);
5158 };
5159 
5163 static inline int
5164 wl_output_add_listener(struct wl_output *wl_output,
5165  const struct wl_output_listener *listener, void *data)
5166 {
5167  return wl_proxy_add_listener((struct wl_proxy *) wl_output,
5168  (void (**)(void)) listener, data);
5169 }
5170 
5171 #define WL_OUTPUT_RELEASE 0
5172 
5176 #define WL_OUTPUT_GEOMETRY_SINCE_VERSION 1
5177 
5180 #define WL_OUTPUT_MODE_SINCE_VERSION 1
5181 
5184 #define WL_OUTPUT_DONE_SINCE_VERSION 2
5185 
5188 #define WL_OUTPUT_SCALE_SINCE_VERSION 2
5189 
5193 #define WL_OUTPUT_RELEASE_SINCE_VERSION 3
5194 
5196 static inline void
5197 wl_output_set_user_data(struct wl_output *wl_output, void *user_data)
5198 {
5199  wl_proxy_set_user_data((struct wl_proxy *) wl_output, user_data);
5200 }
5201 
5203 static inline void *
5204 wl_output_get_user_data(struct wl_output *wl_output)
5205 {
5206  return wl_proxy_get_user_data((struct wl_proxy *) wl_output);
5207 }
5208 
5209 static inline uint32_t
5210 wl_output_get_version(struct wl_output *wl_output)
5211 {
5212  return wl_proxy_get_version((struct wl_proxy *) wl_output);
5213 }
5214 
5216 static inline void
5217 wl_output_destroy(struct wl_output *wl_output)
5218 {
5219  wl_proxy_destroy((struct wl_proxy *) wl_output);
5220 }
5221 
5228 static inline void
5229 wl_output_release(struct wl_output *wl_output)
5230 {
5231  wl_proxy_marshal((struct wl_proxy *) wl_output,
5233 
5234  wl_proxy_destroy((struct wl_proxy *) wl_output);
5235 }
5236 
5237 #define WL_REGION_DESTROY 0
5238 #define WL_REGION_ADD 1
5239 #define WL_REGION_SUBTRACT 2
5240 
5241 
5245 #define WL_REGION_DESTROY_SINCE_VERSION 1
5246 
5249 #define WL_REGION_ADD_SINCE_VERSION 1
5250 
5253 #define WL_REGION_SUBTRACT_SINCE_VERSION 1
5254 
5256 static inline void
5257 wl_region_set_user_data(struct wl_region *wl_region, void *user_data)
5258 {
5259  wl_proxy_set_user_data((struct wl_proxy *) wl_region, user_data);
5260 }
5261 
5263 static inline void *
5264 wl_region_get_user_data(struct wl_region *wl_region)
5265 {
5266  return wl_proxy_get_user_data((struct wl_proxy *) wl_region);
5267 }
5268 
5269 static inline uint32_t
5270 wl_region_get_version(struct wl_region *wl_region)
5271 {
5272  return wl_proxy_get_version((struct wl_proxy *) wl_region);
5273 }
5274 
5280 static inline void
5281 wl_region_destroy(struct wl_region *wl_region)
5282 {
5283  wl_proxy_marshal((struct wl_proxy *) wl_region,
5285 
5286  wl_proxy_destroy((struct wl_proxy *) wl_region);
5287 }
5288 
5294 static inline void
5295 wl_region_add(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height)
5296 {
5297  wl_proxy_marshal((struct wl_proxy *) wl_region,
5298  WL_REGION_ADD, x, y, width, height);
5299 }
5300 
5306 static inline void
5307 wl_region_subtract(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height)
5308 {
5309  wl_proxy_marshal((struct wl_proxy *) wl_region,
5310  WL_REGION_SUBTRACT, x, y, width, height);
5311 }
5312 
5313 #ifndef WL_SUBCOMPOSITOR_ERROR_ENUM
5314 #define WL_SUBCOMPOSITOR_ERROR_ENUM
5320 };
5321 #endif /* WL_SUBCOMPOSITOR_ERROR_ENUM */
5322 
5323 #define WL_SUBCOMPOSITOR_DESTROY 0
5324 #define WL_SUBCOMPOSITOR_GET_SUBSURFACE 1
5325 
5326 
5330 #define WL_SUBCOMPOSITOR_DESTROY_SINCE_VERSION 1
5331 
5334 #define WL_SUBCOMPOSITOR_GET_SUBSURFACE_SINCE_VERSION 1
5335 
5337 static inline void
5338 wl_subcompositor_set_user_data(struct wl_subcompositor *wl_subcompositor, void *user_data)
5339 {
5340  wl_proxy_set_user_data((struct wl_proxy *) wl_subcompositor, user_data);
5341 }
5342 
5344 static inline void *
5345 wl_subcompositor_get_user_data(struct wl_subcompositor *wl_subcompositor)
5346 {
5347  return wl_proxy_get_user_data((struct wl_proxy *) wl_subcompositor);
5348 }
5349 
5350 static inline uint32_t
5351 wl_subcompositor_get_version(struct wl_subcompositor *wl_subcompositor)
5352 {
5353  return wl_proxy_get_version((struct wl_proxy *) wl_subcompositor);
5354 }
5355 
5363 static inline void
5364 wl_subcompositor_destroy(struct wl_subcompositor *wl_subcompositor)
5365 {
5366  wl_proxy_marshal((struct wl_proxy *) wl_subcompositor,
5368 
5369  wl_proxy_destroy((struct wl_proxy *) wl_subcompositor);
5370 }
5371 
5391 static inline struct wl_subsurface *
5392 wl_subcompositor_get_subsurface(struct wl_subcompositor *wl_subcompositor, struct wl_surface *surface, struct wl_surface *parent)
5393 {
5394  struct wl_proxy *id;
5395 
5396  id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_subcompositor,
5397  WL_SUBCOMPOSITOR_GET_SUBSURFACE, &wl_subsurface_interface, NULL, surface, parent);
5398 
5399  return (struct wl_subsurface *) id;
5400 }
5401 
5402 #ifndef WL_SUBSURFACE_ERROR_ENUM
5403 #define WL_SUBSURFACE_ERROR_ENUM
5409 };
5410 #endif /* WL_SUBSURFACE_ERROR_ENUM */
5411 
5412 #define WL_SUBSURFACE_DESTROY 0
5413 #define WL_SUBSURFACE_SET_POSITION 1
5414 #define WL_SUBSURFACE_PLACE_ABOVE 2
5415 #define WL_SUBSURFACE_PLACE_BELOW 3
5416 #define WL_SUBSURFACE_SET_SYNC 4
5417 #define WL_SUBSURFACE_SET_DESYNC 5
5418 
5419 
5423 #define WL_SUBSURFACE_DESTROY_SINCE_VERSION 1
5424 
5427 #define WL_SUBSURFACE_SET_POSITION_SINCE_VERSION 1
5428 
5431 #define WL_SUBSURFACE_PLACE_ABOVE_SINCE_VERSION 1
5432 
5435 #define WL_SUBSURFACE_PLACE_BELOW_SINCE_VERSION 1
5436 
5439 #define WL_SUBSURFACE_SET_SYNC_SINCE_VERSION 1
5440 
5443 #define WL_SUBSURFACE_SET_DESYNC_SINCE_VERSION 1
5444 
5446 static inline void
5447 wl_subsurface_set_user_data(struct wl_subsurface *wl_subsurface, void *user_data)
5448 {
5449  wl_proxy_set_user_data((struct wl_proxy *) wl_subsurface, user_data);
5450 }
5451 
5453 static inline void *
5454 wl_subsurface_get_user_data(struct wl_subsurface *wl_subsurface)
5455 {
5456  return wl_proxy_get_user_data((struct wl_proxy *) wl_subsurface);
5457 }
5458 
5459 static inline uint32_t
5460 wl_subsurface_get_version(struct wl_subsurface *wl_subsurface)
5461 {
5462  return wl_proxy_get_version((struct wl_proxy *) wl_subsurface);
5463 }
5464 
5474 static inline void
5475 wl_subsurface_destroy(struct wl_subsurface *wl_subsurface)
5476 {
5477  wl_proxy_marshal((struct wl_proxy *) wl_subsurface,
5479 
5480  wl_proxy_destroy((struct wl_proxy *) wl_subsurface);
5481 }
5482 
5503 static inline void
5504 wl_subsurface_set_position(struct wl_subsurface *wl_subsurface, int32_t x, int32_t y)
5505 {
5506  wl_proxy_marshal((struct wl_proxy *) wl_subsurface,
5508 }
5509 
5529 static inline void
5530 wl_subsurface_place_above(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling)
5531 {
5532  wl_proxy_marshal((struct wl_proxy *) wl_subsurface,
5533  WL_SUBSURFACE_PLACE_ABOVE, sibling);
5534 }
5535 
5542 static inline void
5543 wl_subsurface_place_below(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling)
5544 {
5545  wl_proxy_marshal((struct wl_proxy *) wl_subsurface,
5546  WL_SUBSURFACE_PLACE_BELOW, sibling);
5547 }
5548 
5566 static inline void
5567 wl_subsurface_set_sync(struct wl_subsurface *wl_subsurface)
5568 {
5569  wl_proxy_marshal((struct wl_proxy *) wl_subsurface,
5571 }
5572 
5596 static inline void
5597 wl_subsurface_set_desync(struct wl_subsurface *wl_subsurface)
5598 {
5599  wl_proxy_marshal((struct wl_proxy *) wl_subsurface,
5601 }
5602 
5603 #ifdef __cplusplus
5604 }
5605 #endif
5606 
5607 #endif
static struct wl_data_source * wl_data_device_manager_create_data_source(struct wl_data_device_manager *wl_data_device_manager)
Create a new data source.
Definition: wayland-client-protocol.h:2692
no preference, apply default policy
Definition: wayland-client-protocol.h:2865
wl_shell_surface_transient
details of transient behaviour
Definition: wayland-client-protocol.h:2843
3 plane YCbCr format, 4x1 subsampled Cb (1) and Cr (2) planes
Definition: wayland-client-protocol.h:1570
action mask contains invalid values
Definition: wayland-client-protocol.h:1784
static void wl_registry_destroy(struct wl_registry *wl_registry)
Definition: wayland-client-protocol.h:1075
no upscaling, center on output and add black borders to compensate size mismatch
Definition: wayland-client-protocol.h:2877
static struct wl_subsurface * wl_subcompositor_get_subsurface(struct wl_subcompositor *wl_subcompositor, struct wl_surface *surface, struct wl_surface *parent)
Create a sub-surface interface for the given surface, and associate it with the given parent surface...
Definition: wayland-client-protocol.h:5392
static void * wl_data_device_get_user_data(struct wl_data_device *wl_data_device)
Definition: wayland-client-protocol.h:2511
offer doesn&#39;t accept this request
Definition: wayland-client-protocol.h:1792
static struct wl_registry * wl_display_get_registry(struct wl_display *wl_display)
This request creates a registry object that allows the client to list and bind the global objects ava...
Definition: wayland-client-protocol.h:974
static void * wl_pointer_get_user_data(struct wl_pointer *wl_pointer)
Definition: wayland-client-protocol.h:4399
static void wl_surface_set_buffer_scale(struct wl_surface *wl_surface, int32_t scale)
This request sets an optional scaling factor on how the compositor interprets the contents of the buf...
Definition: wayland-client-protocol.h:3705
static void wl_subsurface_set_sync(struct wl_subsurface *wl_subsurface)
Change the commit behaviour of the sub-surface to synchronized mode, also described as the parent dep...
Definition: wayland-client-protocol.h:5567
static void wl_touch_release(struct wl_touch *wl_touch)
Definition: wayland-client-protocol.h:4944
bottom and right edges
Definition: wayland-client-protocol.h:2830
static void wl_subsurface_destroy(struct wl_subsurface *wl_subsurface)
The sub-surface interface is removed from the wl_surface object that was turned into a sub-surface wi...
Definition: wayland-client-protocol.h:5475
#define WL_SHELL_SURFACE_MOVE
Definition: wayland-client-protocol.h:2948
static uint32_t wl_subsurface_get_version(struct wl_subsurface *wl_subsurface)
Definition: wayland-client-protocol.h:5460
180 degree flip around a vertical axis
Definition: wayland-client-protocol.h:5027
wl_surface is not a sibling or the parent
Definition: wayland-client-protocol.h:5408
Definition: wayland-client-protocol.h:988
#define WL_OUTPUT_RELEASE
Definition: wayland-client-protocol.h:5171
#define WL_SURFACE_DAMAGE
Definition: wayland-client-protocol.h:3319
#define WL_SHELL_SURFACE_SET_FULLSCREEN
Definition: wayland-client-protocol.h:2952
static uint32_t wl_shm_get_version(struct wl_shm *wl_shm)
Definition: wayland-client-protocol.h:1657
16-bit xRGB format, [15:0] x:R:G:B 1:5:5:5 little endian
Definition: wayland-client-protocol.h:1422
#define WL_COMPOSITOR_CREATE_SURFACE
Definition: wayland-client-protocol.h:1157
static void wl_surface_set_user_data(struct wl_surface *wl_surface, void *user_data)
Definition: wayland-client-protocol.h:3380
#define WL_SUBSURFACE_PLACE_BELOW
Definition: wayland-client-protocol.h:5415
#define WL_DATA_DEVICE_SET_SELECTION
Definition: wayland-client-protocol.h:2461
static void wl_data_source_set_actions(struct wl_data_source *wl_data_source, uint32_t dnd_actions)
Sets the actions that the source side client supports for this operation.
Definition: wayland-client-protocol.h:2329
const struct wl_interface wl_shm_interface
static void * wl_compositor_get_user_data(struct wl_compositor *wl_compositor)
Definition: wayland-client-protocol.h:1179
static uint32_t wl_shell_get_version(struct wl_shell *wl_shell)
Definition: wayland-client-protocol.h:2751
static void wl_display_set_user_data(struct wl_display *wl_display, void *user_data)
Definition: wayland-client-protocol.h:916
Protocol object interface.
Definition: wayland-util.h:202
wl_pointer_error
Definition: wayland-client-protocol.h:3983
32-bit xBGR format, [31:0] x:B:G:R 2:10:10:10 little endian
Definition: wayland-client-protocol.h:1498
switch output mode to the smallest mode that can fit the surface, add black borders to compensate siz...
Definition: wayland-client-protocol.h:2873
static uint32_t wl_buffer_get_version(struct wl_buffer *wl_buffer)
Definition: wayland-client-protocol.h:1752
static void wl_surface_commit(struct wl_surface *wl_surface)
Surface state (input, opaque, and damage regions, attached buffers, etc.) is double-buffered.
Definition: wayland-client-protocol.h:3631
static void * wl_output_get_user_data(struct wl_output *wl_output)
Definition: wayland-client-protocol.h:5204
wl_seat_capability
seat capability bitmask
Definition: wayland-client-protocol.h:3763
void(* error)(void *data, struct wl_display *wl_display, void *object_id, uint32_t code, const char *message)
fatal error event
Definition: wayland-client-protocol.h:862
wl_output_subpixel
subpixel geometry information
Definition: wayland-client-protocol.h:4961
16-bit BGRA 5551 format, [15:0] B:G:R:A 5:5:5:1 little endian
Definition: wayland-client-protocol.h:1450
static struct wl_region * wl_compositor_create_region(struct wl_compositor *wl_compositor)
Ask the compositor to create a new region.
Definition: wayland-client-protocol.h:1219
horizontal RGB
Definition: wayland-client-protocol.h:4973
8-bit BGR format, [7:0] B:G:R 2:3:3
Definition: wayland-client-protocol.h:1386
270 degrees counter-clockwise
Definition: wayland-client-protocol.h:5023
void(* delete_id)(void *data, struct wl_display *wl_display, uint32_t id)
acknowledge object ID deletion
Definition: wayland-client-protocol.h:877
source doesn&#39;t accept this request
Definition: wayland-client-protocol.h:2082
#define WL_SUBSURFACE_PLACE_ABOVE
Definition: wayland-client-protocol.h:5414
16-bit xBGR 1555 format, [15:0] x:B:G:R 1:5:5:5 little endian
Definition: wayland-client-protocol.h:1426
const struct wl_interface wl_display_interface
3 plane YCbCr format, 4x4 subsampled Cr (1) and Cb (2) planes
Definition: wayland-client-protocol.h:1566
packed YCbCr format, [31:0] Cr0:Y1:Cb0:Y0 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1526
a physical wheel rotation
Definition: wayland-client-protocol.h:4059
static void wl_shell_surface_destroy(struct wl_shell_surface *wl_shell_surface)
Definition: wayland-client-protocol.h:3034
vertical RGB
Definition: wayland-client-protocol.h:4981
static void wl_surface_damage_buffer(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height)
This request is used to describe the regions where the pending buffer is different from the current s...
Definition: wayland-client-protocol.h:3748
Definition: wayland-client-protocol.h:2090
static void wl_pointer_destroy(struct wl_pointer *wl_pointer)
Definition: wayland-client-protocol.h:4412
#define WL_DISPLAY_SYNC
Definition: wayland-client-protocol.h:893
key is pressed
Definition: wayland-client-protocol.h:4514
invalid size or stride during pool or buffer creation
Definition: wayland-client-protocol.h:1342
wl_shell_error
Definition: wayland-client-protocol.h:2720
static void wl_shell_surface_set_user_data(struct wl_shell_surface *wl_shell_surface, void *user_data)
Definition: wayland-client-protocol.h:3014
flip and rotate 180 degrees counter-clockwise
Definition: wayland-client-protocol.h:5035
static void * wl_seat_get_user_data(struct wl_seat *wl_seat)
Definition: wayland-client-protocol.h:3882
static void wl_surface_attach(struct wl_surface *wl_surface, struct wl_buffer *buffer, int32_t x, int32_t y)
Set a buffer as the content of this surface.
Definition: wayland-client-protocol.h:3456
static void wl_data_source_offer(struct wl_data_source *wl_data_source, const char *mime_type)
This request adds a mime type to the set of mime types advertised to targets.
Definition: wayland-client-protocol.h:2291
Definition: wayland-client-protocol.h:3278
#define WL_DATA_OFFER_ACCEPT
Definition: wayland-client-protocol.h:1883
static void wl_shell_destroy(struct wl_shell *wl_shell)
Definition: wayland-client-protocol.h:2758
static void wl_shell_surface_set_toplevel(struct wl_shell_surface *wl_shell_surface)
Map the surface as a toplevel surface.
Definition: wayland-client-protocol.h:3092
16-bit RGBx 5551 format, [15:0] R:G:B:x 5:5:5:1 little endian
Definition: wayland-client-protocol.h:1430
wl_shell_surface_fullscreen_method
different method to set the surface fullscreen
Definition: wayland-client-protocol.h:2861
#define WL_SURFACE_SET_OPAQUE_REGION
Definition: wayland-client-protocol.h:3321
static uint32_t wl_shm_pool_get_version(struct wl_shm_pool *wl_shm_pool)
Definition: wayland-client-protocol.h:1262
#define WL_SUBSURFACE_DESTROY
Definition: wayland-client-protocol.h:5412
#define WL_SHM_CREATE_POOL
Definition: wayland-client-protocol.h:1630
static void wl_output_set_user_data(struct wl_output *wl_output, void *user_data)
Definition: wayland-client-protocol.h:5197
action argument has an invalid value
Definition: wayland-client-protocol.h:1788
static void * wl_registry_bind(struct wl_registry *wl_registry, uint32_t name, const struct wl_interface *interface, uint32_t version)
Binds a new, client-created object to the server using the specified name as the identifier.
Definition: wayland-client-protocol.h:1087
buffer scale value is invalid
Definition: wayland-client-protocol.h:3266
no edge
Definition: wayland-client-protocol.h:2798
Dynamic array.
Definition: wayland-util.h:505
16-bit RGB 565 format, [15:0] R:G:B 5:6:5 little endian
Definition: wayland-client-protocol.h:1454
32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1370
static void wl_shell_set_user_data(struct wl_shell *wl_shell, void *user_data)
Definition: wayland-client-protocol.h:2738
3 plane YCbCr format, 4x1 subsampled Cr (1) and Cb (2) planes
Definition: wayland-client-protocol.h:1574
static void wl_pointer_release(struct wl_pointer *wl_pointer)
Using this request a client can tell the server that it is not going to use the pointer object anymor...
Definition: wayland-client-protocol.h:4469
const struct wl_interface wl_data_offer_interface
#define WL_POINTER_SET_CURSOR
Definition: wayland-client-protocol.h:4341
static void * wl_shell_surface_get_user_data(struct wl_shell_surface *wl_shell_surface)
Definition: wayland-client-protocol.h:3021
#define WL_SUBSURFACE_SET_POSITION
Definition: wayland-client-protocol.h:5413
a physical wheel tilt
Definition: wayland-client-protocol.h:4072
32-bit BGRx format, [31:0] B:G:R:x 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1478
static int wl_callback_add_listener(struct wl_callback *wl_callback, const struct wl_callback_listener *listener, void *data)
Definition: wayland-client-protocol.h:1117
static int wl_buffer_add_listener(struct wl_buffer *wl_buffer, const struct wl_buffer_listener *listener, void *data)
Definition: wayland-client-protocol.h:1718
static void wl_subcompositor_set_user_data(struct wl_subcompositor *wl_subcompositor, void *user_data)
Definition: wayland-client-protocol.h:5338
static struct wl_data_device * wl_data_device_manager_get_data_device(struct wl_data_device_manager *wl_data_device_manager, struct wl_seat *seat)
Create a new data device for a given seat.
Definition: wayland-client-protocol.h:2708
static uint32_t wl_callback_get_version(struct wl_callback *wl_callback)
Definition: wayland-client-protocol.h:1145
static void wl_data_offer_set_user_data(struct wl_data_offer *wl_data_offer, void *user_data)
Definition: wayland-client-protocol.h:1925
static int wl_data_source_add_listener(struct wl_data_source *wl_data_source, const struct wl_data_source_listener *listener, void *data)
Definition: wayland-client-protocol.h:2214
#define WL_SURFACE_FRAME
Definition: wayland-client-protocol.h:3320
3 plane YCbCr format, 2x1 subsampled Cb (1) and Cr (2) planes
Definition: wayland-client-protocol.h:1586
static void wl_subsurface_set_position(struct wl_subsurface *wl_subsurface, int32_t x, int32_t y)
This schedules a sub-surface position change.
Definition: wayland-client-protocol.h:5504
static void wl_shell_surface_set_fullscreen(struct wl_shell_surface *wl_shell_surface, uint32_t method, uint32_t framerate, struct wl_output *output)
Map the surface as a fullscreen surface.
Definition: wayland-client-protocol.h:3154
const struct wl_interface wl_data_source_interface
no keymap; client must understand how to interpret the raw keycode
Definition: wayland-client-protocol.h:4490
static void wl_shell_surface_set_maximized(struct wl_shell_surface *wl_shell_surface, struct wl_output *output)
Map the surface as a maximized surface.
Definition: wayland-client-protocol.h:3213
Represents a connection to the compositor and acts as a proxy to the wl_display singleton object...
Definition: wayland-client-core.h:53
static void * wl_buffer_get_user_data(struct wl_buffer *wl_buffer)
Definition: wayland-client-protocol.h:1746
uint32_t wl_proxy_get_version(struct wl_proxy *proxy)
wl_keyboard_key_state
physical key state
Definition: wayland-client-protocol.h:4506
static void wl_region_add(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height)
Add the specified rectangle to the region.
Definition: wayland-client-protocol.h:5295
static void wl_surface_set_buffer_transform(struct wl_surface *wl_surface, int32_t transform)
This request sets an optional transformation on how the compositor interprets the contents of the buf...
Definition: wayland-client-protocol.h:3671
#define WL_DATA_DEVICE_START_DRAG
Definition: wayland-client-protocol.h:2460
static void wl_shm_set_user_data(struct wl_shm *wl_shm, void *user_data)
Definition: wayland-client-protocol.h:1644
Definition: wayland-client-protocol.h:5068
static struct wl_callback * wl_display_sync(struct wl_display *wl_display)
The sync request asks the server to emit the &#39;done&#39; event on the returned wl_callback object...
Definition: wayland-client-protocol.h:950
struct wl_proxy * wl_proxy_marshal_constructor(struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface,...)
#define WL_SURFACE_COMMIT
Definition: wayland-client-protocol.h:3323
given wl_surface has another role
Definition: wayland-client-protocol.h:2724
static void wl_surface_destroy(struct wl_surface *wl_surface)
Deletes the surface and invalidates its object ID.
Definition: wayland-client-protocol.h:3404
static void wl_surface_damage(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height)
This request is used to describe the regions where the pending buffer is different from the current s...
Definition: wayland-client-protocol.h:3488
wl_output_mode
mode information
Definition: wayland-client-protocol.h:5052
32-bit ARGB format, [31:0] A:R:G:B 2:10:10:10 little endian
Definition: wayland-client-protocol.h:1510
static uint32_t wl_compositor_get_version(struct wl_compositor *wl_compositor)
Definition: wayland-client-protocol.h:1185
static void wl_data_offer_destroy(struct wl_data_offer *wl_data_offer)
Destroy the data offer.
Definition: wayland-client-protocol.h:2000
32-bit BGRA format, [31:0] B:G:R:A 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1490
wl_shell_surface_resize
edge values for resizing
Definition: wayland-client-protocol.h:2794
static void wl_seat_destroy(struct wl_seat *wl_seat)
Definition: wayland-client-protocol.h:3895
static void wl_shell_surface_pong(struct wl_shell_surface *wl_shell_surface, uint32_t serial)
A client must respond to a ping event with a pong request or the client may be deemed unresponsive...
Definition: wayland-client-protocol.h:3046
static struct wl_touch * wl_seat_get_touch(struct wl_seat *wl_seat)
The ID provided will be initialized to the wl_touch interface for this seat.
Definition: wayland-client-protocol.h:3956
static void wl_data_offer_receive(struct wl_data_offer *wl_data_offer, const char *mime_type, int32_t fd)
To transfer the offered data, the client issues this request and indicates the mime type it wants to ...
Definition: wayland-client-protocol.h:1988
const struct wl_interface wl_registry_interface
#define WL_SEAT_GET_KEYBOARD
Definition: wayland-client-protocol.h:3843
wl_data_source_error
Definition: wayland-client-protocol.h:2074
static void * wl_region_get_user_data(struct wl_region *wl_region)
Definition: wayland-client-protocol.h:5264
3 plane YCbCr format, 2x2 subsampled Cr (1) and Cb (2) planes
Definition: wayland-client-protocol.h:1582
static void wl_compositor_destroy(struct wl_compositor *wl_compositor)
Definition: wayland-client-protocol.h:1192
static uint32_t wl_data_offer_get_version(struct wl_data_offer *wl_data_offer)
Definition: wayland-client-protocol.h:1938
#define WL_TOUCH_RELEASE
Definition: wayland-client-protocol.h:4877
int wl_proxy_add_listener(struct wl_proxy *proxy, void(**implementation)(void), void *data)
#define WL_SUBCOMPOSITOR_GET_SUBSURFACE
Definition: wayland-client-protocol.h:5324
static uint32_t wl_data_source_get_version(struct wl_data_source *wl_data_source)
Definition: wayland-client-protocol.h:2278
Definition: wayland-client-protocol.h:1800
static void wl_compositor_set_user_data(struct wl_compositor *wl_compositor, void *user_data)
Definition: wayland-client-protocol.h:1172
static void wl_subsurface_set_desync(struct wl_subsurface *wl_subsurface)
Change the commit behaviour of the sub-surface to desynchronized mode, also described as independent ...
Definition: wayland-client-protocol.h:5597
2 plane YCbCr Cr:Cb format, 2x1 subsampled Cr:Cb plane
Definition: wayland-client-protocol.h:1554
flip and rotate 270 degrees counter-clockwise
Definition: wayland-client-protocol.h:5039
server couldn&#39;t find object
Definition: wayland-client-protocol.h:831
no transform
Definition: wayland-client-protocol.h:5011
16-bit ABGR 1555 format, [15:0] A:B:G:R 1:5:5:5 little endian
Definition: wayland-client-protocol.h:1442
#define WL_SURFACE_DAMAGE_BUFFER
Definition: wayland-client-protocol.h:3326
static uint32_t wl_data_device_get_version(struct wl_data_device *wl_data_device)
Definition: wayland-client-protocol.h:2517
the seat has one or more keyboards
Definition: wayland-client-protocol.h:3771
#define WL_SURFACE_SET_BUFFER_TRANSFORM
Definition: wayland-client-protocol.h:3324
#define WL_SUBSURFACE_SET_DESYNC
Definition: wayland-client-protocol.h:5417
static void * wl_touch_get_user_data(struct wl_touch *wl_touch)
Definition: wayland-client-protocol.h:4922
void wl_proxy_set_user_data(struct wl_proxy *proxy, void *user_data)
static void wl_data_offer_accept(struct wl_data_offer *wl_data_offer, uint32_t serial, const char *mime_type)
Indicate that the client can accept the given mime type, or NULL for not accepted.
Definition: wayland-client-protocol.h:1962
#define WL_REGION_ADD
Definition: wayland-client-protocol.h:5238
16-bit BGRx 5551 format, [15:0] B:G:R:x 5:5:5:1 little endian
Definition: wayland-client-protocol.h:1434
180 degrees counter-clockwise
Definition: wayland-client-protocol.h:5019
static struct wl_callback * wl_surface_frame(struct wl_surface *wl_surface)
Request a notification when it is a good time to start drawing a new frame, by creating a frame callb...
Definition: wayland-client-protocol.h:3531
#define WL_SURFACE_SET_INPUT_REGION
Definition: wayland-client-protocol.h:3322
move action
Definition: wayland-client-protocol.h:2638
#define WL_BUFFER_DESTROY
Definition: wayland-client-protocol.h:1725
3 plane YCbCr format, 2x2 subsampled Cb (1) and Cr (2) planes
Definition: wayland-client-protocol.h:1578
32-bit RGBA format, [31:0] R:G:B:A 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1486
#define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE
Definition: wayland-client-protocol.h:2646
static void wl_output_release(struct wl_output *wl_output)
Using this request a client can tell the server that it is not going to use the output object anymore...
Definition: wayland-client-protocol.h:5229
wl_display_error
global error values
Definition: wayland-client-protocol.h:827
wl_shm_error
wl_shm error values
Definition: wayland-client-protocol.h:1334
const struct wl_interface wl_shell_surface_interface
static void * wl_data_source_get_user_data(struct wl_data_source *wl_data_source)
Definition: wayland-client-protocol.h:2272
#define WL_SHELL_SURFACE_SET_MAXIMIZED
Definition: wayland-client-protocol.h:2954
#define WL_SHELL_GET_SHELL_SURFACE
Definition: wayland-client-protocol.h:2728
Definition: wayland-client-protocol.h:4712
void wl_proxy_destroy(struct wl_proxy *proxy)
Definition: wayland-client-protocol.h:4084
static void wl_callback_destroy(struct wl_callback *wl_callback)
Definition: wayland-client-protocol.h:1152
#define WL_SHELL_SURFACE_SET_TOPLEVEL
Definition: wayland-client-protocol.h:2950
static uint32_t wl_subcompositor_get_version(struct wl_subcompositor *wl_subcompositor)
Definition: wayland-client-protocol.h:5351
static void wl_keyboard_release(struct wl_keyboard *wl_keyboard)
Definition: wayland-client-protocol.h:4700
Definition: wayland-client-protocol.h:2349
static void * wl_data_offer_get_user_data(struct wl_data_offer *wl_data_offer)
Definition: wayland-client-protocol.h:1932
given wl_surface has another role
Definition: wayland-client-protocol.h:2341
key is not pressed
Definition: wayland-client-protocol.h:4510
#define WL_SHM_POOL_CREATE_BUFFER
Definition: wayland-client-protocol.h:1229
Definition: wayland-client-protocol.h:3783
Definition: wayland-client-protocol.h:1693
wl_pointer_axis_source
axis source types
Definition: wayland-client-protocol.h:4055
static void wl_region_subtract(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height)
Subtract the specified rectangle from the region.
Definition: wayland-client-protocol.h:5307
16-bit RGBA 5551 format, [15:0] R:G:B:A 5:5:5:1 little endian
Definition: wayland-client-protocol.h:1446
3 plane YCbCr format, 2x1 subsampled Cr (1) and Cb (2) planes
Definition: wayland-client-protocol.h:1590
#define WL_DATA_OFFER_RECEIVE
Definition: wayland-client-protocol.h:1884
#define WL_SUBCOMPOSITOR_DESTROY
Definition: wayland-client-protocol.h:5323
32-bit RGBA format, [31:0] R:G:B:A 10:10:10:2 little endian
Definition: wayland-client-protocol.h:1518
24-bit BGR format, [23:0] B:G:R little endian
Definition: wayland-client-protocol.h:1466
top and right edges
Definition: wayland-client-protocol.h:2826
packed AYCbCr format, [31:0] A:Y:Cb:Cr 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1542
#define WL_SHM_POOL_DESTROY
Definition: wayland-client-protocol.h:1230
32-bit ABGR format, [31:0] A:B:G:R 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1482
static void wl_shm_pool_destroy(struct wl_shm_pool *wl_shm_pool)
Destroy the shared memory pool.
Definition: wayland-client-protocol.h:1303
const struct wl_interface wl_pointer_interface
16-bit xBGR format, [15:0] x:B:G:R 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1394
16-bit ABGR format, [15:0] A:B:G:R 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1410
static void wl_subsurface_place_above(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling)
This sub-surface is taken from the stack, and put back just above the reference surface, changing the z-order of the sub-surfaces.
Definition: wayland-client-protocol.h:5530
wl_pointer_axis
axis types
Definition: wayland-client-protocol.h:4020
32-bit RGBx format, [31:0] R:G:B:x 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1474
static void wl_region_destroy(struct wl_region *wl_region)
Destroy the region.
Definition: wayland-client-protocol.h:5281
unknown geometry
Definition: wayland-client-protocol.h:4965
static void wl_shm_destroy(struct wl_shm *wl_shm)
Definition: wayland-client-protocol.h:1664
left edge
Definition: wayland-client-protocol.h:2810
const struct wl_interface wl_region_interface
#define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE
Definition: wayland-client-protocol.h:2647
the button is not pressed
Definition: wayland-client-protocol.h:4004
static uint32_t wl_data_device_manager_get_version(struct wl_data_device_manager *wl_data_device_manager)
Definition: wayland-client-protocol.h:2674
#define WL_DATA_SOURCE_SET_ACTIONS
Definition: wayland-client-protocol.h:2223
#define WL_DISPLAY_GET_REGISTRY
Definition: wayland-client-protocol.h:894
void * wl_proxy_get_user_data(struct wl_proxy *proxy)
#define WL_SEAT_RELEASE
Definition: wayland-client-protocol.h:3845
#define WL_DATA_SOURCE_OFFER
Definition: wayland-client-protocol.h:2221
const struct wl_interface wl_surface_interface
#define WL_DATA_OFFER_SET_ACTIONS
Definition: wayland-client-protocol.h:1887
the seat has touch devices
Definition: wayland-client-protocol.h:3775
#define WL_SEAT_GET_TOUCH
Definition: wayland-client-protocol.h:3844
horizontal axis
Definition: wayland-client-protocol.h:4028
wl_pointer_button_state
physical button state
Definition: wayland-client-protocol.h:4000
#define WL_SHELL_SURFACE_PONG
Definition: wayland-client-protocol.h:2947
#define WL_REGISTRY_BIND
Definition: wayland-client-protocol.h:1037
static void wl_registry_set_user_data(struct wl_registry *wl_registry, void *user_data)
Definition: wayland-client-protocol.h:1055
packed YCbCr format, [31:0] Y1:Cb0:Y0:Cr0 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1538
Definition: wayland-client-protocol.h:1101
wl_data_device_error
Definition: wayland-client-protocol.h:2337
#define WL_SHELL_SURFACE_SET_TITLE
Definition: wayland-client-protocol.h:2955
static void wl_seat_set_user_data(struct wl_seat *wl_seat, void *user_data)
Definition: wayland-client-protocol.h:3875
32-bit ABGR format, [31:0] A:B:G:R 2:10:10:10 little endian
Definition: wayland-client-protocol.h:1514
const struct wl_interface wl_touch_interface
int32_t wl_fixed_t
Fixed-point number.
Definition: wayland-util.h:590
16-bit RBGA format, [15:0] R:G:B:A 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1414
static struct wl_pointer * wl_seat_get_pointer(struct wl_seat *wl_seat)
The ID provided will be initialized to the wl_pointer interface for this seat.
Definition: wayland-client-protocol.h:3912
static void wl_shell_surface_set_title(struct wl_shell_surface *wl_shell_surface, const char *title)
Set a short title for the surface.
Definition: wayland-client-protocol.h:3231
static int wl_touch_add_listener(struct wl_touch *wl_touch, const struct wl_touch_listener *listener, void *data)
Definition: wayland-client-protocol.h:4870
static void wl_touch_set_user_data(struct wl_touch *wl_touch, void *user_data)
Definition: wayland-client-protocol.h:4915
static void wl_data_offer_set_actions(struct wl_data_offer *wl_data_offer, uint32_t dnd_actions, uint32_t preferred_action)
Sets the actions that the destination side client supports for this operation.
Definition: wayland-client-protocol.h:2066
static int wl_pointer_add_listener(struct wl_pointer *wl_pointer, const struct wl_pointer_listener *listener, void *data)
Definition: wayland-client-protocol.h:4334
static void wl_subsurface_place_below(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling)
The sub-surface is placed just below the reference surface.
Definition: wayland-client-protocol.h:5543
static int wl_data_offer_add_listener(struct wl_data_offer *wl_data_offer, const struct wl_data_offer_listener *listener, void *data)
Definition: wayland-client-protocol.h:1876
Represents a protocol object on the client side.
16-bit ARGB format, [15:0] A:R:G:B 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1406
static void * wl_data_device_manager_get_user_data(struct wl_data_device_manager *wl_data_device_manager)
Definition: wayland-client-protocol.h:2668
the button is pressed
Definition: wayland-client-protocol.h:4008
static struct wl_shell_surface * wl_shell_get_shell_surface(struct wl_shell *wl_shell, struct wl_surface *surface)
Create a shell surface for an existing surface.
Definition: wayland-client-protocol.h:2773
static void wl_subsurface_set_user_data(struct wl_subsurface *wl_subsurface, void *user_data)
Definition: wayland-client-protocol.h:5447
scale, preserve the surface&#39;s aspect ratio and center on output
Definition: wayland-client-protocol.h:2869
#define WL_POINTER_RELEASE
Definition: wayland-client-protocol.h:4342
wl_data_device_manager_dnd_action
drag and drop actions
Definition: wayland-client-protocol.h:2626
static int wl_seat_add_listener(struct wl_seat *wl_seat, const struct wl_seat_listener *listener, void *data)
Definition: wayland-client-protocol.h:3835
#define WL_COMPOSITOR_CREATE_REGION
Definition: wayland-client-protocol.h:1158
static struct wl_buffer * wl_shm_pool_create_buffer(struct wl_shm_pool *wl_shm_pool, int32_t offset, int32_t width, int32_t height, int32_t stride, uint32_t format)
Create a wl_buffer object from the pool.
Definition: wayland-client-protocol.h:1283
static void wl_data_device_manager_set_user_data(struct wl_data_device_manager *wl_data_device_manager, void *user_data)
Definition: wayland-client-protocol.h:2661
static void * wl_surface_get_user_data(struct wl_surface *wl_surface)
Definition: wayland-client-protocol.h:3387
32-bit xRGB format, [31:0] x:R:G:B 2:10:10:10 little endian
Definition: wayland-client-protocol.h:1494
2 plane YCbCr Cb:Cr format, 2x1 subsampled Cb:Cr plane
Definition: wayland-client-protocol.h:1558
static uint32_t wl_region_get_version(struct wl_region *wl_region)
Definition: wayland-client-protocol.h:5270
#define WL_DATA_OFFER_FINISH
Definition: wayland-client-protocol.h:1886
wl_data_offer_error
Definition: wayland-client-protocol.h:1776
#define WL_SHELL_SURFACE_SET_TRANSIENT
Definition: wayland-client-protocol.h:2951
const struct wl_interface wl_seat_interface
const struct wl_interface wl_buffer_interface
static void wl_data_device_release(struct wl_data_device *wl_data_device)
This request destroys the data device.
Definition: wayland-client-protocol.h:2588
32-bit BGRx format, [31:0] B:G:R:x 10:10:10:2 little endian
Definition: wayland-client-protocol.h:1506
given wl_surface has another role
Definition: wayland-client-protocol.h:3987
static int wl_output_add_listener(struct wl_output *wl_output, const struct wl_output_listener *listener, void *data)
Definition: wayland-client-protocol.h:5164
static void wl_output_destroy(struct wl_output *wl_output)
Definition: wayland-client-protocol.h:5217
16-bit BGRA format, [15:0] B:G:R:A 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1418
Definition: wayland-client-protocol.h:847
#define WL_SHM_POOL_RESIZE
Definition: wayland-client-protocol.h:1231
Definition: wayland-client-protocol.h:4522
32-bit BGRA format, [31:0] B:G:R:A 10:10:10:2 little endian
Definition: wayland-client-protocol.h:1522
static void wl_surface_set_opaque_region(struct wl_surface *wl_surface, struct wl_region *region)
This request sets the region of the surface that contains opaque content.
Definition: wayland-client-protocol.h:3570
indicates this is the preferred mode
Definition: wayland-client-protocol.h:5060
static void wl_buffer_destroy(struct wl_buffer *wl_buffer)
Destroy a buffer.
Definition: wayland-client-protocol.h:1766
flip and rotate 90 degrees counter-clockwise
Definition: wayland-client-protocol.h:5031
no action
Definition: wayland-client-protocol.h:2630
static void wl_data_device_set_user_data(struct wl_data_device *wl_data_device, void *user_data)
Definition: wayland-client-protocol.h:2504
vertical axis
Definition: wayland-client-protocol.h:4024
static void * wl_subcompositor_get_user_data(struct wl_subcompositor *wl_subcompositor)
Definition: wayland-client-protocol.h:5345
16-bit xRGB format, [15:0] x:R:G:B 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1390
wl_surface_error
wl_surface error values
Definition: wayland-client-protocol.h:3262
static void wl_data_device_destroy(struct wl_data_device *wl_data_device)
Definition: wayland-client-protocol.h:2524
static int wl_keyboard_add_listener(struct wl_keyboard *wl_keyboard, const struct wl_keyboard_listener *listener, void *data)
Definition: wayland-client-protocol.h:4630
bottom and left edges
Definition: wayland-client-protocol.h:2818
ask action
Definition: wayland-client-protocol.h:2642
const struct wl_interface wl_compositor_interface
static void wl_data_device_start_drag(struct wl_data_device *wl_data_device, struct wl_data_source *source, struct wl_surface *origin, struct wl_surface *icon, uint32_t serial)
This request asks the compositor to start a drag-and-drop operation on behalf of the client...
Definition: wayland-client-protocol.h:2561
32-bit xBGR format, [31:0] x:B:G:R 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1470
3 plane YCbCr format, non-subsampled Cr (1) and Cb (2) planes
Definition: wayland-client-protocol.h:1598
static void wl_callback_set_user_data(struct wl_callback *wl_callback, void *user_data)
Definition: wayland-client-protocol.h:1132
static uint32_t wl_shell_surface_get_version(struct wl_shell_surface *wl_shell_surface)
Definition: wayland-client-protocol.h:3027
wl_subsurface_error
Definition: wayland-client-protocol.h:5404
2 plane YCbCr Cb:Cr format, 2x2 subsampled Cb:Cr plane
Definition: wayland-client-protocol.h:1550
packed YCbCr format, [31:0] Cb0:Y1:Cr0:Y0 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1530
#define WL_SEAT_GET_POINTER
Definition: wayland-client-protocol.h:3842
top edge
Definition: wayland-client-protocol.h:2802
static int wl_data_device_add_listener(struct wl_data_device *wl_data_device, const struct wl_data_device_listener *listener, void *data)
Definition: wayland-client-protocol.h:2453
Definition: wayland-client-protocol.h:2885
#define WL_SURFACE_SET_BUFFER_SCALE
Definition: wayland-client-protocol.h:3325
continuous coordinate space
Definition: wayland-client-protocol.h:4067
const struct wl_interface wl_shell_interface
static struct wl_surface * wl_compositor_create_surface(struct wl_compositor *wl_compositor)
Ask the compositor to create a new surface.
Definition: wayland-client-protocol.h:1203
Include the client API and protocol C API.
#define WL_DATA_DEVICE_RELEASE
Definition: wayland-client-protocol.h:2462
32-bit RGBx format, [31:0] R:G:B:x 10:10:10:2 little endian
Definition: wayland-client-protocol.h:1502
#define WL_REGION_DESTROY
Definition: wayland-client-protocol.h:5237
const struct wl_interface wl_subsurface_interface
struct wl_proxy * wl_proxy_marshal_constructor_versioned(struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version,...)
libxkbcommon compatible; to determine the xkb keycode, clients must add 8 to the key event keycode ...
Definition: wayland-client-protocol.h:4494
const struct wl_interface wl_subcompositor_interface
16-bit BGRx format, [15:0] B:G:R:x 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1402
16-bit BGR 565 format, [15:0] B:G:R 5:6:5 little endian
Definition: wayland-client-protocol.h:1458
static void wl_keyboard_destroy(struct wl_keyboard *wl_keyboard)
Definition: wayland-client-protocol.h:4691
#define WL_SHELL_SURFACE_SET_CLASS
Definition: wayland-client-protocol.h:2956
copy action
Definition: wayland-client-protocol.h:2634
24-bit RGB format, [23:0] R:G:B little endian
Definition: wayland-client-protocol.h:1462
void * data
Array data.
Definition: wayland-util.h:511
static void wl_pointer_set_cursor(struct wl_pointer *wl_pointer, uint32_t serial, struct wl_surface *surface, int32_t hotspot_x, int32_t hotspot_y)
Set the pointer surface, i.e., the surface that contains the pointer image (cursor).
Definition: wayland-client-protocol.h:4453
90 degrees counter-clockwise
Definition: wayland-client-protocol.h:5015
static void * wl_shell_get_user_data(struct wl_shell *wl_shell)
Definition: wayland-client-protocol.h:2745
right edge
Definition: wayland-client-protocol.h:2822
#define WL_DATA_SOURCE_DESTROY
Definition: wayland-client-protocol.h:2222
static void wl_data_device_set_selection(struct wl_data_device *wl_data_device, struct wl_data_source *source, uint32_t serial)
This request asks the compositor to set the selection to the data from the source on behalf of the cl...
Definition: wayland-client-protocol.h:2576
static void wl_region_set_user_data(struct wl_region *wl_region, void *user_data)
Definition: wayland-client-protocol.h:5257
no geometry
Definition: wayland-client-protocol.h:4969
static void wl_data_source_destroy(struct wl_data_source *wl_data_source)
Destroy the data source.
Definition: wayland-client-protocol.h:2303
wl_output_transform
transform from framebuffer to output
Definition: wayland-client-protocol.h:5007
static void wl_data_device_manager_destroy(struct wl_data_device_manager *wl_data_device_manager)
Definition: wayland-client-protocol.h:2681
static void wl_shell_surface_set_class(struct wl_shell_surface *wl_shell_surface, const char *class_)
Set a class for the surface.
Definition: wayland-client-protocol.h:3248
static void * wl_registry_get_user_data(struct wl_registry *wl_registry)
Definition: wayland-client-protocol.h:1062
static void wl_shell_surface_set_transient(struct wl_shell_surface *wl_shell_surface, struct wl_surface *parent, int32_t x, int32_t y, uint32_t flags)
Map the surface relative to an existing surface.
Definition: wayland-client-protocol.h:3110
static int wl_shm_add_listener(struct wl_shm *wl_shm, const struct wl_shm_listener *listener, void *data)
Definition: wayland-client-protocol.h:1623
static struct wl_shm_pool * wl_shm_create_pool(struct wl_shm *wl_shm, int32_t fd, int32_t size)
Create a new wl_shm_pool object.
Definition: wayland-client-protocol.h:1679
buffer format is not known
Definition: wayland-client-protocol.h:1338
static void * wl_shm_get_user_data(struct wl_shm *wl_shm)
Definition: wayland-client-protocol.h:1651
#define WL_SURFACE_ATTACH
Definition: wayland-client-protocol.h:3318
const struct wl_interface wl_callback_interface
static void wl_data_source_set_user_data(struct wl_data_source *wl_data_source, void *user_data)
Definition: wayland-client-protocol.h:2265
static void wl_data_offer_finish(struct wl_data_offer *wl_data_offer)
Notifies the compositor that the drag destination successfully finished the drag-and-drop operation...
Definition: wayland-client-protocol.h:2024
const struct wl_interface wl_output_interface
method doesn&#39;t exist on the specified interface
Definition: wayland-client-protocol.h:835
static uint32_t wl_display_get_version(struct wl_display *wl_display)
Definition: wayland-client-protocol.h:929
3 plane YCbCr format, 4x4 subsampled Cb (1) and Cr (2) planes
Definition: wayland-client-protocol.h:1562
static uint32_t wl_seat_get_version(struct wl_seat *wl_seat)
Definition: wayland-client-protocol.h:3888
#define WL_SHELL_SURFACE_RESIZE
Definition: wayland-client-protocol.h:2949
static void wl_pointer_set_user_data(struct wl_pointer *wl_pointer, void *user_data)
Definition: wayland-client-protocol.h:4392
static uint32_t wl_output_get_version(struct wl_output *wl_output)
Definition: wayland-client-protocol.h:5210
3 plane YCbCr format, non-subsampled Cb (1) and Cr (2) planes
Definition: wayland-client-protocol.h:1594
const struct wl_interface wl_data_device_manager_interface
finger on a touch surface
Definition: wayland-client-protocol.h:4063
wl_keyboard_keymap_format
keyboard mapping format
Definition: wayland-client-protocol.h:4486
static void wl_keyboard_set_user_data(struct wl_keyboard *wl_keyboard, void *user_data)
Definition: wayland-client-protocol.h:4671
static void * wl_keyboard_get_user_data(struct wl_keyboard *wl_keyboard)
Definition: wayland-client-protocol.h:4678
packed YCbCr format, [31:0] Y1:Cr0:Y0:Cb0 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1534
indicates this is the current mode
Definition: wayland-client-protocol.h:5056
static void wl_subcompositor_destroy(struct wl_subcompositor *wl_subcompositor)
Informs the server that the client will not be using this protocol object anymore.
Definition: wayland-client-protocol.h:5364
static uint32_t wl_pointer_get_version(struct wl_pointer *wl_pointer)
Definition: wayland-client-protocol.h:4405
#define WL_SURFACE_DESTROY
Definition: wayland-client-protocol.h:3317
static void wl_seat_release(struct wl_seat *wl_seat)
Using this request a client can tell the server that it is not going to use the seat object anymore...
Definition: wayland-client-protocol.h:3973
static uint32_t wl_keyboard_get_version(struct wl_keyboard *wl_keyboard)
Definition: wayland-client-protocol.h:4684
horizontal BGR
Definition: wayland-client-protocol.h:4977
static void wl_shell_surface_set_popup(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial, struct wl_surface *parent, int32_t x, int32_t y, uint32_t flags)
Map the surface as a popup.
Definition: wayland-client-protocol.h:3184
vertical BGR
Definition: wayland-client-protocol.h:4985
static int wl_display_add_listener(struct wl_display *wl_display, const struct wl_display_listener *listener, void *data)
Definition: wayland-client-protocol.h:886
16-bit RGBx format, [15:0] R:G:B:x 4:4:4:4 little endian
Definition: wayland-client-protocol.h:1398
static void wl_shell_surface_move(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial)
Start a pointer-driven move of the surface.
Definition: wayland-client-protocol.h:3062
#define WL_REGION_SUBTRACT
Definition: wayland-client-protocol.h:5239
wl_shm_format
pixel formats
Definition: wayland-client-protocol.h:1366
mmapping the file descriptor failed
Definition: wayland-client-protocol.h:1346
static int wl_shell_surface_add_listener(struct wl_shell_surface *wl_shell_surface, const struct wl_shell_surface_listener *listener, void *data)
Definition: wayland-client-protocol.h:2940
static void * wl_callback_get_user_data(struct wl_callback *wl_callback)
Definition: wayland-client-protocol.h:1139
static int wl_surface_add_listener(struct wl_surface *wl_surface, const struct wl_surface_listener *listener, void *data)
Definition: wayland-client-protocol.h:3310
#define WL_SHELL_SURFACE_SET_POPUP
Definition: wayland-client-protocol.h:2953
static uint32_t wl_surface_get_version(struct wl_surface *wl_surface)
Definition: wayland-client-protocol.h:3393
16-bit ARGB 1555 format, [15:0] A:R:G:B 1:5:5:5 little endian
Definition: wayland-client-protocol.h:1438
#define WL_SUBSURFACE_SET_SYNC
Definition: wayland-client-protocol.h:5416
2 plane YCbCr Cr:Cb format, 2x2 subsampled Cr:Cb plane
Definition: wayland-client-protocol.h:1546
const struct wl_interface wl_data_device_interface
top and left edges
Definition: wayland-client-protocol.h:2814
8-bit RGB format, [7:0] R:G:B 3:3:2
Definition: wayland-client-protocol.h:1382
static void * wl_display_get_user_data(struct wl_display *wl_display)
Definition: wayland-client-protocol.h:923
the seat has pointer devices
Definition: wayland-client-protocol.h:3767
wl_subcompositor_error
Definition: wayland-client-protocol.h:5315
static void wl_shm_pool_resize(struct wl_shm_pool *wl_shm_pool, int32_t size)
This request will cause the server to remap the backing memory for the pool from the file descriptor ...
Definition: wayland-client-protocol.h:1320
static uint32_t wl_touch_get_version(struct wl_touch *wl_touch)
Definition: wayland-client-protocol.h:4928
const struct wl_interface wl_shm_pool_interface
#define WL_KEYBOARD_RELEASE
Definition: wayland-client-protocol.h:4637
#define WL_DATA_OFFER_DESTROY
Definition: wayland-client-protocol.h:1885
static void wl_buffer_set_user_data(struct wl_buffer *wl_buffer, void *user_data)
Definition: wayland-client-protocol.h:1739
static void wl_surface_set_input_region(struct wl_surface *wl_surface, struct wl_region *region)
This request sets the region of the surface that can receive pointer and touch events.
Definition: wayland-client-protocol.h:3603
8-bit color index format, [7:0] C
Definition: wayland-client-protocol.h:1378
const char * name
Interface name.
Definition: wayland-util.h:204
action mask contains invalid values
Definition: wayland-client-protocol.h:2078
bottom edge
Definition: wayland-client-protocol.h:2806
Definition: wayland-client-protocol.h:1606
do not set keyboard focus
Definition: wayland-client-protocol.h:2847
server is out of memory
Definition: wayland-client-protocol.h:839
static struct wl_keyboard * wl_seat_get_keyboard(struct wl_seat *wl_seat)
The ID provided will be initialized to the wl_keyboard interface for this seat.
Definition: wayland-client-protocol.h:3934
32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian
Definition: wayland-client-protocol.h:1374
static void * wl_shm_pool_get_user_data(struct wl_shm_pool *wl_shm_pool)
Definition: wayland-client-protocol.h:1256
void wl_proxy_marshal(struct wl_proxy *p, uint32_t opcode,...)
static int wl_registry_add_listener(struct wl_registry *wl_registry, const struct wl_registry_listener *listener, void *data)
Definition: wayland-client-protocol.h:1030
const struct wl_interface wl_keyboard_interface
finish request was called untimely
Definition: wayland-client-protocol.h:1780
the to-be sub-surface is invalid
Definition: wayland-client-protocol.h:5319
static uint32_t wl_registry_get_version(struct wl_registry *wl_registry)
Definition: wayland-client-protocol.h:1068
buffer transform value is invalid
Definition: wayland-client-protocol.h:3270
static void * wl_subsurface_get_user_data(struct wl_subsurface *wl_subsurface)
Definition: wayland-client-protocol.h:5454
static void wl_shm_pool_set_user_data(struct wl_shm_pool *wl_shm_pool, void *user_data)
Definition: wayland-client-protocol.h:1249
static void wl_touch_destroy(struct wl_touch *wl_touch)
Definition: wayland-client-protocol.h:4935