3 #ifndef WAYLAND_CLIENT_PROTOCOL_H 4 #define WAYLAND_CLIENT_PROTOCOL_H 8 #include "wayland-client.h" 71 struct wl_data_device;
72 struct wl_data_device_manager;
74 struct wl_data_source;
83 struct wl_shell_surface;
86 struct wl_subcompositor;
812 #ifndef WL_DISPLAY_ERROR_ENUM 813 #define WL_DISPLAY_ERROR_ENUM 857 struct wl_display *wl_display,
872 struct wl_display *wl_display,
883 return wl_proxy_add_listener((
struct wl_proxy *) wl_display,
884 (
void (**)(
void)) listener, data);
887 #define WL_DISPLAY_SYNC 0 888 #define WL_DISPLAY_GET_REGISTRY 1 893 #define WL_DISPLAY_ERROR_SINCE_VERSION 1 897 #define WL_DISPLAY_DELETE_ID_SINCE_VERSION 1 902 #define WL_DISPLAY_SYNC_SINCE_VERSION 1 906 #define WL_DISPLAY_GET_REGISTRY_SINCE_VERSION 1 912 wl_proxy_set_user_data((
struct wl_proxy *) wl_display, user_data);
919 return wl_proxy_get_user_data((
struct wl_proxy *) wl_display);
925 return wl_proxy_get_version((
struct wl_proxy *) wl_display);
943 static inline struct wl_callback *
948 callback = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_display,
951 return (
struct wl_callback *)
callback;
961 static inline struct wl_registry *
964 struct wl_proxy *registry;
966 registry = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_display,
969 return (
struct wl_registry *) registry;
990 struct wl_registry *wl_registry,
992 const char *interface,
1010 struct wl_registry *wl_registry,
1021 return wl_proxy_add_listener((
struct wl_proxy *) wl_registry,
1022 (
void (**)(
void)) listener, data);
1025 #define WL_REGISTRY_BIND 0 1030 #define WL_REGISTRY_GLOBAL_SINCE_VERSION 1 1034 #define WL_REGISTRY_GLOBAL_REMOVE_SINCE_VERSION 1 1039 #define WL_REGISTRY_BIND_SINCE_VERSION 1 1045 wl_proxy_set_user_data((
struct wl_proxy *) wl_registry, user_data);
1049 static inline void *
1052 return wl_proxy_get_user_data((
struct wl_proxy *) wl_registry);
1058 return wl_proxy_get_version((
struct wl_proxy *) wl_registry);
1065 wl_proxy_destroy((
struct wl_proxy *) wl_registry);
1074 static inline void *
1077 struct wl_proxy *
id;
1079 id = wl_proxy_marshal_constructor_versioned((
struct wl_proxy *) wl_registry,
1097 struct wl_callback *wl_callback,
1108 return wl_proxy_add_listener((
struct wl_proxy *) wl_callback,
1109 (
void (**)(
void)) listener, data);
1115 #define WL_CALLBACK_DONE_SINCE_VERSION 1 1122 wl_proxy_set_user_data((
struct wl_proxy *) wl_callback, user_data);
1126 static inline void *
1129 return wl_proxy_get_user_data((
struct wl_proxy *) wl_callback);
1135 return wl_proxy_get_version((
struct wl_proxy *) wl_callback);
1142 wl_proxy_destroy((
struct wl_proxy *) wl_callback);
1145 #define WL_COMPOSITOR_CREATE_SURFACE 0 1146 #define WL_COMPOSITOR_CREATE_REGION 1 1152 #define WL_COMPOSITOR_CREATE_SURFACE_SINCE_VERSION 1 1156 #define WL_COMPOSITOR_CREATE_REGION_SINCE_VERSION 1 1162 wl_proxy_set_user_data((
struct wl_proxy *) wl_compositor, user_data);
1166 static inline void *
1169 return wl_proxy_get_user_data((
struct wl_proxy *) wl_compositor);
1175 return wl_proxy_get_version((
struct wl_proxy *) wl_compositor);
1182 wl_proxy_destroy((
struct wl_proxy *) wl_compositor);
1190 static inline struct wl_surface *
1193 struct wl_proxy *
id;
1195 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_compositor,
1198 return (
struct wl_surface *)
id;
1206 static inline struct wl_region *
1209 struct wl_proxy *
id;
1211 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_compositor,
1214 return (
struct wl_region *)
id;
1217 #define WL_SHM_POOL_CREATE_BUFFER 0 1218 #define WL_SHM_POOL_DESTROY 1 1219 #define WL_SHM_POOL_RESIZE 2 1225 #define WL_SHM_POOL_CREATE_BUFFER_SINCE_VERSION 1 1229 #define WL_SHM_POOL_DESTROY_SINCE_VERSION 1 1233 #define WL_SHM_POOL_RESIZE_SINCE_VERSION 1 1239 wl_proxy_set_user_data((
struct wl_proxy *) wl_shm_pool, user_data);
1243 static inline void *
1246 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shm_pool);
1252 return wl_proxy_get_version((
struct wl_proxy *) wl_shm_pool);
1270 static inline struct wl_buffer *
1273 struct wl_proxy *
id;
1275 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_shm_pool,
1278 return (
struct wl_buffer *)
id;
1293 wl_proxy_marshal((
struct wl_proxy *) wl_shm_pool,
1296 wl_proxy_destroy((
struct wl_proxy *) wl_shm_pool);
1310 wl_proxy_marshal((
struct wl_proxy *) wl_shm_pool,
1314 #ifndef WL_SHM_ERROR_ENUM 1315 #define WL_SHM_ERROR_ENUM 1338 #ifndef WL_SHM_FORMAT_ENUM 1339 #define WL_SHM_FORMAT_ENUM 1603 struct wl_shm *wl_shm,
1614 return wl_proxy_add_listener((
struct wl_proxy *) wl_shm,
1615 (
void (**)(
void)) listener, data);
1618 #define WL_SHM_CREATE_POOL 0 1623 #define WL_SHM_FORMAT_SINCE_VERSION 1 1628 #define WL_SHM_CREATE_POOL_SINCE_VERSION 1 1634 wl_proxy_set_user_data((
struct wl_proxy *) wl_shm, user_data);
1638 static inline void *
1641 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shm);
1647 return wl_proxy_get_version((
struct wl_proxy *) wl_shm);
1654 wl_proxy_destroy((
struct wl_proxy *) wl_shm);
1666 static inline struct wl_shm_pool *
1669 struct wl_proxy *
id;
1671 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_shm,
1674 return (
struct wl_shm_pool *)
id;
1699 struct wl_buffer *wl_buffer);
1709 return wl_proxy_add_listener((
struct wl_proxy *) wl_buffer,
1710 (
void (**)(
void)) listener, data);
1713 #define WL_BUFFER_DESTROY 0 1718 #define WL_BUFFER_RELEASE_SINCE_VERSION 1 1723 #define WL_BUFFER_DESTROY_SINCE_VERSION 1 1729 wl_proxy_set_user_data((
struct wl_proxy *) wl_buffer, user_data);
1733 static inline void *
1736 return wl_proxy_get_user_data((
struct wl_proxy *) wl_buffer);
1742 return wl_proxy_get_version((
struct wl_proxy *) wl_buffer);
1756 wl_proxy_marshal((
struct wl_proxy *) wl_buffer,
1759 wl_proxy_destroy((
struct wl_proxy *) wl_buffer);
1762 #ifndef WL_DATA_OFFER_ERROR_ENUM 1763 #define WL_DATA_OFFER_ERROR_ENUM 1797 struct wl_data_offer *wl_data_offer,
1798 const char *mime_type);
1810 struct wl_data_offer *wl_data_offer,
1856 struct wl_data_offer *wl_data_offer,
1867 return wl_proxy_add_listener((
struct wl_proxy *) wl_data_offer,
1868 (
void (**)(
void)) listener, data);
1871 #define WL_DATA_OFFER_ACCEPT 0 1872 #define WL_DATA_OFFER_RECEIVE 1 1873 #define WL_DATA_OFFER_DESTROY 2 1874 #define WL_DATA_OFFER_FINISH 3 1875 #define WL_DATA_OFFER_SET_ACTIONS 4 1880 #define WL_DATA_OFFER_OFFER_SINCE_VERSION 1 1884 #define WL_DATA_OFFER_SOURCE_ACTIONS_SINCE_VERSION 3 1888 #define WL_DATA_OFFER_ACTION_SINCE_VERSION 3 1893 #define WL_DATA_OFFER_ACCEPT_SINCE_VERSION 1 1897 #define WL_DATA_OFFER_RECEIVE_SINCE_VERSION 1 1901 #define WL_DATA_OFFER_DESTROY_SINCE_VERSION 1 1905 #define WL_DATA_OFFER_FINISH_SINCE_VERSION 3 1909 #define WL_DATA_OFFER_SET_ACTIONS_SINCE_VERSION 3 1915 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_offer, user_data);
1919 static inline void *
1922 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_offer);
1928 return wl_proxy_get_version((
struct wl_proxy *) wl_data_offer);
1952 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
1978 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
1990 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
1993 wl_proxy_destroy((
struct wl_proxy *) wl_data_offer);
2014 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
2056 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
2060 #ifndef WL_DATA_SOURCE_ERROR_ENUM 2061 #define WL_DATA_SOURCE_ERROR_ENUM 2089 struct wl_data_source *wl_data_source,
2090 const char *mime_type);
2101 struct wl_data_source *wl_data_source,
2102 const char *mime_type,
2128 struct wl_data_source *wl_data_source);
2146 struct wl_data_source *wl_data_source);
2159 struct wl_data_source *wl_data_source);
2194 struct wl_data_source *wl_data_source,
2205 return wl_proxy_add_listener((
struct wl_proxy *) wl_data_source,
2206 (
void (**)(
void)) listener, data);
2209 #define WL_DATA_SOURCE_OFFER 0 2210 #define WL_DATA_SOURCE_DESTROY 1 2211 #define WL_DATA_SOURCE_SET_ACTIONS 2 2216 #define WL_DATA_SOURCE_TARGET_SINCE_VERSION 1 2220 #define WL_DATA_SOURCE_SEND_SINCE_VERSION 1 2224 #define WL_DATA_SOURCE_CANCELLED_SINCE_VERSION 1 2228 #define WL_DATA_SOURCE_DND_DROP_PERFORMED_SINCE_VERSION 3 2232 #define WL_DATA_SOURCE_DND_FINISHED_SINCE_VERSION 3 2236 #define WL_DATA_SOURCE_ACTION_SINCE_VERSION 3 2241 #define WL_DATA_SOURCE_OFFER_SINCE_VERSION 1 2245 #define WL_DATA_SOURCE_DESTROY_SINCE_VERSION 1 2249 #define WL_DATA_SOURCE_SET_ACTIONS_SINCE_VERSION 3 2255 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_source, user_data);
2259 static inline void *
2262 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_source);
2268 return wl_proxy_get_version((
struct wl_proxy *) wl_data_source);
2281 wl_proxy_marshal((
struct wl_proxy *) wl_data_source,
2293 wl_proxy_marshal((
struct wl_proxy *) wl_data_source,
2296 wl_proxy_destroy((
struct wl_proxy *) wl_data_source);
2319 wl_proxy_marshal((
struct wl_proxy *) wl_data_source,
2323 #ifndef WL_DATA_DEVICE_ERROR_ENUM 2324 #define WL_DATA_DEVICE_ERROR_ENUM 2351 struct wl_data_device *wl_data_device,
2352 struct wl_data_offer *
id);
2367 struct wl_data_device *wl_data_device,
2372 struct wl_data_offer *
id);
2381 struct wl_data_device *wl_data_device);
2394 struct wl_data_device *wl_data_device,
2416 struct wl_data_device *wl_data_device);
2433 struct wl_data_device *wl_data_device,
2434 struct wl_data_offer *
id);
2444 return wl_proxy_add_listener((
struct wl_proxy *) wl_data_device,
2445 (
void (**)(
void)) listener, data);
2448 #define WL_DATA_DEVICE_START_DRAG 0 2449 #define WL_DATA_DEVICE_SET_SELECTION 1 2450 #define WL_DATA_DEVICE_RELEASE 2 2455 #define WL_DATA_DEVICE_DATA_OFFER_SINCE_VERSION 1 2459 #define WL_DATA_DEVICE_ENTER_SINCE_VERSION 1 2463 #define WL_DATA_DEVICE_LEAVE_SINCE_VERSION 1 2467 #define WL_DATA_DEVICE_MOTION_SINCE_VERSION 1 2471 #define WL_DATA_DEVICE_DROP_SINCE_VERSION 1 2475 #define WL_DATA_DEVICE_SELECTION_SINCE_VERSION 1 2480 #define WL_DATA_DEVICE_START_DRAG_SINCE_VERSION 1 2484 #define WL_DATA_DEVICE_SET_SELECTION_SINCE_VERSION 1 2488 #define WL_DATA_DEVICE_RELEASE_SINCE_VERSION 2 2494 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_device, user_data);
2498 static inline void *
2501 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_device);
2507 return wl_proxy_get_version((
struct wl_proxy *) wl_data_device);
2514 wl_proxy_destroy((
struct wl_proxy *) wl_data_device);
2551 wl_proxy_marshal((
struct wl_proxy *) wl_data_device,
2566 wl_proxy_marshal((
struct wl_proxy *) wl_data_device,
2578 wl_proxy_marshal((
struct wl_proxy *) wl_data_device,
2581 wl_proxy_destroy((
struct wl_proxy *) wl_data_device);
2584 #ifndef WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM 2585 #define WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM 2634 #define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE 0 2635 #define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE 1 2641 #define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE_SINCE_VERSION 1 2645 #define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE_SINCE_VERSION 1 2651 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_device_manager, user_data);
2655 static inline void *
2658 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_device_manager);
2664 return wl_proxy_get_version((
struct wl_proxy *) wl_data_device_manager);
2671 wl_proxy_destroy((
struct wl_proxy *) wl_data_device_manager);
2679 static inline struct wl_data_source *
2682 struct wl_proxy *
id;
2684 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_data_device_manager,
2687 return (
struct wl_data_source *)
id;
2695 static inline struct wl_data_device *
2698 struct wl_proxy *
id;
2700 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_data_device_manager,
2703 return (
struct wl_data_device *)
id;
2706 #ifndef WL_SHELL_ERROR_ENUM 2707 #define WL_SHELL_ERROR_ENUM 2716 #define WL_SHELL_GET_SHELL_SURFACE 0 2722 #define WL_SHELL_GET_SHELL_SURFACE_SINCE_VERSION 1 2728 wl_proxy_set_user_data((
struct wl_proxy *) wl_shell, user_data);
2732 static inline void *
2735 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shell);
2741 return wl_proxy_get_version((
struct wl_proxy *) wl_shell);
2748 wl_proxy_destroy((
struct wl_proxy *) wl_shell);
2760 static inline struct wl_shell_surface *
2763 struct wl_proxy *
id;
2765 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_shell,
2768 return (
struct wl_shell_surface *)
id;
2771 #ifndef WL_SHELL_SURFACE_RESIZE_ENUM 2772 #define WL_SHELL_SURFACE_RESIZE_ENUM 2822 #ifndef WL_SHELL_SURFACE_TRANSIENT_ENUM 2823 #define WL_SHELL_SURFACE_TRANSIENT_ENUM 2839 #ifndef WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM 2840 #define WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM 2882 struct wl_shell_surface *wl_shell_surface,
2909 struct wl_shell_surface *wl_shell_surface,
2921 struct wl_shell_surface *wl_shell_surface);
2931 return wl_proxy_add_listener((
struct wl_proxy *) wl_shell_surface,
2932 (
void (**)(
void)) listener, data);
2935 #define WL_SHELL_SURFACE_PONG 0 2936 #define WL_SHELL_SURFACE_MOVE 1 2937 #define WL_SHELL_SURFACE_RESIZE 2 2938 #define WL_SHELL_SURFACE_SET_TOPLEVEL 3 2939 #define WL_SHELL_SURFACE_SET_TRANSIENT 4 2940 #define WL_SHELL_SURFACE_SET_FULLSCREEN 5 2941 #define WL_SHELL_SURFACE_SET_POPUP 6 2942 #define WL_SHELL_SURFACE_SET_MAXIMIZED 7 2943 #define WL_SHELL_SURFACE_SET_TITLE 8 2944 #define WL_SHELL_SURFACE_SET_CLASS 9 2949 #define WL_SHELL_SURFACE_PING_SINCE_VERSION 1 2953 #define WL_SHELL_SURFACE_CONFIGURE_SINCE_VERSION 1 2957 #define WL_SHELL_SURFACE_POPUP_DONE_SINCE_VERSION 1 2962 #define WL_SHELL_SURFACE_PONG_SINCE_VERSION 1 2966 #define WL_SHELL_SURFACE_MOVE_SINCE_VERSION 1 2970 #define WL_SHELL_SURFACE_RESIZE_SINCE_VERSION 1 2974 #define WL_SHELL_SURFACE_SET_TOPLEVEL_SINCE_VERSION 1 2978 #define WL_SHELL_SURFACE_SET_TRANSIENT_SINCE_VERSION 1 2982 #define WL_SHELL_SURFACE_SET_FULLSCREEN_SINCE_VERSION 1 2986 #define WL_SHELL_SURFACE_SET_POPUP_SINCE_VERSION 1 2990 #define WL_SHELL_SURFACE_SET_MAXIMIZED_SINCE_VERSION 1 2994 #define WL_SHELL_SURFACE_SET_TITLE_SINCE_VERSION 1 2998 #define WL_SHELL_SURFACE_SET_CLASS_SINCE_VERSION 1 3004 wl_proxy_set_user_data((
struct wl_proxy *) wl_shell_surface, user_data);
3008 static inline void *
3011 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shell_surface);
3017 return wl_proxy_get_version((
struct wl_proxy *) wl_shell_surface);
3024 wl_proxy_destroy((
struct wl_proxy *) wl_shell_surface);
3036 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3052 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3068 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3082 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3100 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3144 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3174 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3203 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3221 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3238 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3242 #ifndef WL_SURFACE_ERROR_ENUM 3243 #define WL_SURFACE_ERROR_ENUM 3279 struct wl_surface *wl_surface,
3280 struct wl_output *
output);
3290 struct wl_surface *wl_surface,
3291 struct wl_output *
output);
3301 return wl_proxy_add_listener((
struct wl_proxy *) wl_surface,
3302 (
void (**)(
void)) listener, data);
3305 #define WL_SURFACE_DESTROY 0 3306 #define WL_SURFACE_ATTACH 1 3307 #define WL_SURFACE_DAMAGE 2 3308 #define WL_SURFACE_FRAME 3 3309 #define WL_SURFACE_SET_OPAQUE_REGION 4 3310 #define WL_SURFACE_SET_INPUT_REGION 5 3311 #define WL_SURFACE_COMMIT 6 3312 #define WL_SURFACE_SET_BUFFER_TRANSFORM 7 3313 #define WL_SURFACE_SET_BUFFER_SCALE 8 3314 #define WL_SURFACE_DAMAGE_BUFFER 9 3319 #define WL_SURFACE_ENTER_SINCE_VERSION 1 3323 #define WL_SURFACE_LEAVE_SINCE_VERSION 1 3328 #define WL_SURFACE_DESTROY_SINCE_VERSION 1 3332 #define WL_SURFACE_ATTACH_SINCE_VERSION 1 3336 #define WL_SURFACE_DAMAGE_SINCE_VERSION 1 3340 #define WL_SURFACE_FRAME_SINCE_VERSION 1 3344 #define WL_SURFACE_SET_OPAQUE_REGION_SINCE_VERSION 1 3348 #define WL_SURFACE_SET_INPUT_REGION_SINCE_VERSION 1 3352 #define WL_SURFACE_COMMIT_SINCE_VERSION 1 3356 #define WL_SURFACE_SET_BUFFER_TRANSFORM_SINCE_VERSION 2 3360 #define WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION 3 3364 #define WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION 4 3370 wl_proxy_set_user_data((
struct wl_proxy *) wl_surface, user_data);
3374 static inline void *
3377 return wl_proxy_get_user_data((
struct wl_proxy *) wl_surface);
3383 return wl_proxy_get_version((
struct wl_proxy *) wl_surface);
3394 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3397 wl_proxy_destroy((
struct wl_proxy *) wl_surface);
3446 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3478 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3518 static inline struct wl_callback *
3523 callback = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_surface,
3526 return (
struct wl_callback *)
callback;
3560 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3593 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3621 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3661 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3695 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3738 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3742 #ifndef WL_SEAT_CAPABILITY_ENUM 3743 #define WL_SEAT_CAPABILITY_ENUM 3803 struct wl_seat *wl_seat,
3815 struct wl_seat *wl_seat,
3826 return wl_proxy_add_listener((
struct wl_proxy *) wl_seat,
3827 (
void (**)(
void)) listener, data);
3830 #define WL_SEAT_GET_POINTER 0 3831 #define WL_SEAT_GET_KEYBOARD 1 3832 #define WL_SEAT_GET_TOUCH 2 3833 #define WL_SEAT_RELEASE 3 3838 #define WL_SEAT_CAPABILITIES_SINCE_VERSION 1 3842 #define WL_SEAT_NAME_SINCE_VERSION 2 3847 #define WL_SEAT_GET_POINTER_SINCE_VERSION 1 3851 #define WL_SEAT_GET_KEYBOARD_SINCE_VERSION 1 3855 #define WL_SEAT_GET_TOUCH_SINCE_VERSION 1 3859 #define WL_SEAT_RELEASE_SINCE_VERSION 5 3865 wl_proxy_set_user_data((
struct wl_proxy *) wl_seat, user_data);
3869 static inline void *
3872 return wl_proxy_get_user_data((
struct wl_proxy *) wl_seat);
3878 return wl_proxy_get_version((
struct wl_proxy *) wl_seat);
3885 wl_proxy_destroy((
struct wl_proxy *) wl_seat);
3899 static inline struct wl_pointer *
3902 struct wl_proxy *
id;
3904 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_seat,
3907 return (
struct wl_pointer *)
id;
3921 static inline struct wl_keyboard *
3924 struct wl_proxy *
id;
3926 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_seat,
3929 return (
struct wl_keyboard *)
id;
3943 static inline struct wl_touch *
3946 struct wl_proxy *
id;
3948 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_seat,
3951 return (
struct wl_touch *)
id;
3963 wl_proxy_marshal((
struct wl_proxy *) wl_seat,
3966 wl_proxy_destroy((
struct wl_proxy *) wl_seat);
3969 #ifndef WL_POINTER_ERROR_ENUM 3970 #define WL_POINTER_ERROR_ENUM 3979 #ifndef WL_POINTER_BUTTON_STATE_ENUM 3980 #define WL_POINTER_BUTTON_STATE_ENUM 4000 #ifndef WL_POINTER_AXIS_ENUM 4001 #define WL_POINTER_AXIS_ENUM 4020 #ifndef WL_POINTER_AXIS_SOURCE_ENUM 4021 #define WL_POINTER_AXIS_SOURCE_ENUM 4065 #define WL_POINTER_AXIS_SOURCE_WHEEL_TILT_SINCE_VERSION 6 4088 struct wl_pointer *wl_pointer,
4091 wl_fixed_t surface_x,
4092 wl_fixed_t surface_y);
4105 struct wl_pointer *wl_pointer,
4119 struct wl_pointer *wl_pointer,
4121 wl_fixed_t surface_x,
4122 wl_fixed_t surface_y);
4145 struct wl_pointer *wl_pointer,
4174 struct wl_pointer *wl_pointer,
4218 struct wl_pointer *wl_pointer);
4251 struct wl_pointer *wl_pointer,
4275 struct wl_pointer *wl_pointer,
4313 struct wl_pointer *wl_pointer,
4325 return wl_proxy_add_listener((
struct wl_proxy *) wl_pointer,
4326 (
void (**)(
void)) listener, data);
4329 #define WL_POINTER_SET_CURSOR 0 4330 #define WL_POINTER_RELEASE 1 4335 #define WL_POINTER_ENTER_SINCE_VERSION 1 4339 #define WL_POINTER_LEAVE_SINCE_VERSION 1 4343 #define WL_POINTER_MOTION_SINCE_VERSION 1 4347 #define WL_POINTER_BUTTON_SINCE_VERSION 1 4351 #define WL_POINTER_AXIS_SINCE_VERSION 1 4355 #define WL_POINTER_FRAME_SINCE_VERSION 5 4359 #define WL_POINTER_AXIS_SOURCE_SINCE_VERSION 5 4363 #define WL_POINTER_AXIS_STOP_SINCE_VERSION 5 4367 #define WL_POINTER_AXIS_DISCRETE_SINCE_VERSION 5 4372 #define WL_POINTER_SET_CURSOR_SINCE_VERSION 1 4376 #define WL_POINTER_RELEASE_SINCE_VERSION 3 4382 wl_proxy_set_user_data((
struct wl_proxy *) wl_pointer, user_data);
4386 static inline void *
4389 return wl_proxy_get_user_data((
struct wl_proxy *) wl_pointer);
4395 return wl_proxy_get_version((
struct wl_proxy *) wl_pointer);
4402 wl_proxy_destroy((
struct wl_proxy *) wl_pointer);
4443 wl_proxy_marshal((
struct wl_proxy *) wl_pointer,
4459 wl_proxy_marshal((
struct wl_proxy *) wl_pointer,
4462 wl_proxy_destroy((
struct wl_proxy *) wl_pointer);
4465 #ifndef WL_KEYBOARD_KEYMAP_FORMAT_ENUM 4466 #define WL_KEYBOARD_KEYMAP_FORMAT_ENUM 4486 #ifndef WL_KEYBOARD_KEY_STATE_ENUM 4487 #define WL_KEYBOARD_KEY_STATE_ENUM 4521 struct wl_keyboard *wl_keyboard,
4535 struct wl_keyboard *wl_keyboard,
4538 struct wl_array *keys);
4551 struct wl_keyboard *wl_keyboard,
4565 struct wl_keyboard *wl_keyboard,
4582 struct wl_keyboard *wl_keyboard,
4609 struct wl_keyboard *wl_keyboard,
4621 return wl_proxy_add_listener((
struct wl_proxy *) wl_keyboard,
4622 (
void (**)(
void)) listener, data);
4625 #define WL_KEYBOARD_RELEASE 0 4630 #define WL_KEYBOARD_KEYMAP_SINCE_VERSION 1 4634 #define WL_KEYBOARD_ENTER_SINCE_VERSION 1 4638 #define WL_KEYBOARD_LEAVE_SINCE_VERSION 1 4642 #define WL_KEYBOARD_KEY_SINCE_VERSION 1 4646 #define WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1 4650 #define WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4 4655 #define WL_KEYBOARD_RELEASE_SINCE_VERSION 3 4661 wl_proxy_set_user_data((
struct wl_proxy *) wl_keyboard, user_data);
4665 static inline void *
4668 return wl_proxy_get_user_data((
struct wl_proxy *) wl_keyboard);
4674 return wl_proxy_get_version((
struct wl_proxy *) wl_keyboard);
4681 wl_proxy_destroy((
struct wl_proxy *) wl_keyboard);
4690 wl_proxy_marshal((
struct wl_proxy *) wl_keyboard,
4693 wl_proxy_destroy((
struct wl_proxy *) wl_keyboard);
4716 struct wl_touch *wl_touch,
4734 struct wl_touch *wl_touch,
4748 struct wl_touch *wl_touch,
4766 struct wl_touch *wl_touch);
4778 struct wl_touch *wl_touch);
4814 struct wl_touch *wl_touch,
4849 struct wl_touch *wl_touch,
4851 wl_fixed_t orientation);
4861 return wl_proxy_add_listener((
struct wl_proxy *) wl_touch,
4862 (
void (**)(
void)) listener, data);
4865 #define WL_TOUCH_RELEASE 0 4870 #define WL_TOUCH_DOWN_SINCE_VERSION 1 4874 #define WL_TOUCH_UP_SINCE_VERSION 1 4878 #define WL_TOUCH_MOTION_SINCE_VERSION 1 4882 #define WL_TOUCH_FRAME_SINCE_VERSION 1 4886 #define WL_TOUCH_CANCEL_SINCE_VERSION 1 4890 #define WL_TOUCH_SHAPE_SINCE_VERSION 6 4894 #define WL_TOUCH_ORIENTATION_SINCE_VERSION 6 4899 #define WL_TOUCH_RELEASE_SINCE_VERSION 3 4905 wl_proxy_set_user_data((
struct wl_proxy *) wl_touch, user_data);
4909 static inline void *
4912 return wl_proxy_get_user_data((
struct wl_proxy *) wl_touch);
4918 return wl_proxy_get_version((
struct wl_proxy *) wl_touch);
4925 wl_proxy_destroy((
struct wl_proxy *) wl_touch);
4934 wl_proxy_marshal((
struct wl_proxy *) wl_touch,
4937 wl_proxy_destroy((
struct wl_proxy *) wl_touch);
4940 #ifndef WL_OUTPUT_SUBPIXEL_ENUM 4941 #define WL_OUTPUT_SUBPIXEL_ENUM 4977 #ifndef WL_OUTPUT_TRANSFORM_ENUM 4978 #define WL_OUTPUT_TRANSFORM_ENUM 5031 #ifndef WL_OUTPUT_MODE_ENUM 5032 #define WL_OUTPUT_MODE_ENUM 5073 struct wl_output *wl_output,
5104 struct wl_output *wl_output,
5120 struct wl_output *wl_output);
5144 struct wl_output *wl_output,
5155 return wl_proxy_add_listener((
struct wl_proxy *) wl_output,
5156 (
void (**)(
void)) listener, data);
5159 #define WL_OUTPUT_RELEASE 0 5164 #define WL_OUTPUT_GEOMETRY_SINCE_VERSION 1 5168 #define WL_OUTPUT_MODE_SINCE_VERSION 1 5172 #define WL_OUTPUT_DONE_SINCE_VERSION 2 5176 #define WL_OUTPUT_SCALE_SINCE_VERSION 2 5181 #define WL_OUTPUT_RELEASE_SINCE_VERSION 3 5187 wl_proxy_set_user_data((
struct wl_proxy *) wl_output, user_data);
5191 static inline void *
5194 return wl_proxy_get_user_data((
struct wl_proxy *) wl_output);
5200 return wl_proxy_get_version((
struct wl_proxy *) wl_output);
5207 wl_proxy_destroy((
struct wl_proxy *) wl_output);
5219 wl_proxy_marshal((
struct wl_proxy *) wl_output,
5222 wl_proxy_destroy((
struct wl_proxy *) wl_output);
5225 #define WL_REGION_DESTROY 0 5226 #define WL_REGION_ADD 1 5227 #define WL_REGION_SUBTRACT 2 5233 #define WL_REGION_DESTROY_SINCE_VERSION 1 5237 #define WL_REGION_ADD_SINCE_VERSION 1 5241 #define WL_REGION_SUBTRACT_SINCE_VERSION 1 5247 wl_proxy_set_user_data((
struct wl_proxy *) wl_region, user_data);
5251 static inline void *
5254 return wl_proxy_get_user_data((
struct wl_proxy *) wl_region);
5260 return wl_proxy_get_version((
struct wl_proxy *) wl_region);
5271 wl_proxy_marshal((
struct wl_proxy *) wl_region,
5274 wl_proxy_destroy((
struct wl_proxy *) wl_region);
5285 wl_proxy_marshal((
struct wl_proxy *) wl_region,
5297 wl_proxy_marshal((
struct wl_proxy *) wl_region,
5301 #ifndef WL_SUBCOMPOSITOR_ERROR_ENUM 5302 #define WL_SUBCOMPOSITOR_ERROR_ENUM 5311 #define WL_SUBCOMPOSITOR_DESTROY 0 5312 #define WL_SUBCOMPOSITOR_GET_SUBSURFACE 1 5318 #define WL_SUBCOMPOSITOR_DESTROY_SINCE_VERSION 1 5322 #define WL_SUBCOMPOSITOR_GET_SUBSURFACE_SINCE_VERSION 1 5328 wl_proxy_set_user_data((
struct wl_proxy *) wl_subcompositor, user_data);
5332 static inline void *
5335 return wl_proxy_get_user_data((
struct wl_proxy *) wl_subcompositor);
5341 return wl_proxy_get_version((
struct wl_proxy *) wl_subcompositor);
5354 wl_proxy_marshal((
struct wl_proxy *) wl_subcompositor,
5357 wl_proxy_destroy((
struct wl_proxy *) wl_subcompositor);
5371 static inline struct wl_subsurface *
5374 struct wl_proxy *
id;
5376 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_subcompositor,
5379 return (
struct wl_subsurface *)
id;
5382 #ifndef WL_SUBSURFACE_ERROR_ENUM 5383 #define WL_SUBSURFACE_ERROR_ENUM 5392 #define WL_SUBSURFACE_DESTROY 0 5393 #define WL_SUBSURFACE_SET_POSITION 1 5394 #define WL_SUBSURFACE_PLACE_ABOVE 2 5395 #define WL_SUBSURFACE_PLACE_BELOW 3 5396 #define WL_SUBSURFACE_SET_SYNC 4 5397 #define WL_SUBSURFACE_SET_DESYNC 5 5403 #define WL_SUBSURFACE_DESTROY_SINCE_VERSION 1 5407 #define WL_SUBSURFACE_SET_POSITION_SINCE_VERSION 1 5411 #define WL_SUBSURFACE_PLACE_ABOVE_SINCE_VERSION 1 5415 #define WL_SUBSURFACE_PLACE_BELOW_SINCE_VERSION 1 5419 #define WL_SUBSURFACE_SET_SYNC_SINCE_VERSION 1 5423 #define WL_SUBSURFACE_SET_DESYNC_SINCE_VERSION 1 5429 wl_proxy_set_user_data((
struct wl_proxy *) wl_subsurface, user_data);
5433 static inline void *
5436 return wl_proxy_get_user_data((
struct wl_proxy *) wl_subsurface);
5442 return wl_proxy_get_version((
struct wl_proxy *) wl_subsurface);
5457 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5460 wl_proxy_destroy((
struct wl_proxy *) wl_subsurface);
5486 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5512 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5525 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5549 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5579 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
static struct wl_data_source * wl_data_device_manager_create_data_source(struct wl_data_device_manager *wl_data_device_manager)
const struct wl_interface wl_registry_interface
wl_shell_surface_transient
GLenum GLenum GLenum GLenum GLenum scale
static void wl_registry_destroy(struct wl_registry *wl_registry)
static struct wl_subsurface * wl_subcompositor_get_subsurface(struct wl_subcompositor *wl_subcompositor, struct wl_surface *surface, struct wl_surface *parent)
const struct wl_interface wl_data_source_interface
static void * wl_data_device_get_user_data(struct wl_data_device *wl_data_device)
const struct wl_interface wl_subsurface_interface
static struct wl_registry * wl_display_get_registry(struct wl_display *wl_display)
static void * wl_pointer_get_user_data(struct wl_pointer *wl_pointer)
static void wl_surface_set_buffer_scale(struct wl_surface *wl_surface, int32_t scale)
static void wl_subsurface_set_sync(struct wl_subsurface *wl_subsurface)
static void wl_touch_release(struct wl_touch *wl_touch)
static void wl_subsurface_destroy(struct wl_subsurface *wl_subsurface)
#define WL_SHELL_SURFACE_MOVE
static uint32_t wl_subsurface_get_version(struct wl_subsurface *wl_subsurface)
#define WL_OUTPUT_RELEASE
#define WL_SURFACE_DAMAGE
#define WL_SHELL_SURFACE_SET_FULLSCREEN
static uint32_t wl_shm_get_version(struct wl_shm *wl_shm)
#define WL_COMPOSITOR_CREATE_SURFACE
static void wl_surface_set_user_data(struct wl_surface *wl_surface, void *user_data)
#define WL_SUBSURFACE_PLACE_BELOW
#define WL_DATA_DEVICE_SET_SELECTION
static void wl_data_source_set_actions(struct wl_data_source *wl_data_source, uint32_t dnd_actions)
const struct wl_interface wl_shm_interface
static void * wl_compositor_get_user_data(struct wl_compositor *wl_compositor)
static uint32_t wl_shell_get_version(struct wl_shell *wl_shell)
static void wl_display_set_user_data(struct wl_display *wl_display, void *user_data)
static uint32_t wl_buffer_get_version(struct wl_buffer *wl_buffer)
static void wl_surface_commit(struct wl_surface *wl_surface)
EGLSurface EGLnsecsANDROID time
static void * wl_output_get_user_data(struct wl_output *wl_output)
void(* error)(void *data, struct wl_display *wl_display, void *object_id, uint32_t code, const char *message)
static struct wl_region * wl_compositor_create_region(struct wl_compositor *wl_compositor)
void(* delete_id)(void *data, struct wl_display *wl_display, uint32_t id)
#define WL_SUBSURFACE_PLACE_ABOVE
GLint GLint GLint GLint GLint x
const struct wl_interface wl_display_interface
GLuint GLsizei const GLchar * message
static void wl_shell_surface_destroy(struct wl_shell_surface *wl_shell_surface)
static void wl_surface_damage_buffer(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height)
static void wl_pointer_destroy(struct wl_pointer *wl_pointer)
static void wl_shell_surface_set_user_data(struct wl_shell_surface *wl_shell_surface, void *user_data)
static void * wl_seat_get_user_data(struct wl_seat *wl_seat)
static void wl_surface_attach(struct wl_surface *wl_surface, struct wl_buffer *buffer, int32_t x, int32_t y)
static void wl_data_source_offer(struct wl_data_source *wl_data_source, const char *mime_type)
#define WL_DATA_OFFER_ACCEPT
static void wl_shell_destroy(struct wl_shell *wl_shell)
static void wl_shell_surface_set_toplevel(struct wl_shell_surface *wl_shell_surface)
wl_shell_surface_fullscreen_method
#define WL_SURFACE_SET_OPAQUE_REGION
static uint32_t wl_shm_pool_get_version(struct wl_shm_pool *wl_shm_pool)
#define WL_SUBSURFACE_DESTROY
#define WL_SHM_CREATE_POOL
static void wl_output_set_user_data(struct wl_output *wl_output, void *user_data)
static void * wl_registry_bind(struct wl_registry *wl_registry, uint32_t name, const struct wl_interface *interface, uint32_t version)
static void wl_shell_set_user_data(struct wl_shell *wl_shell, void *user_data)
const struct wl_interface wl_shm_pool_interface
static void wl_pointer_release(struct wl_pointer *wl_pointer)
const struct wl_interface wl_touch_interface
#define WL_POINTER_SET_CURSOR
static void * wl_shell_surface_get_user_data(struct wl_shell_surface *wl_shell_surface)
#define WL_SUBSURFACE_SET_POSITION
static int wl_callback_add_listener(struct wl_callback *wl_callback, const struct wl_callback_listener *listener, void *data)
static int wl_buffer_add_listener(struct wl_buffer *wl_buffer, const struct wl_buffer_listener *listener, void *data)
static void wl_subcompositor_set_user_data(struct wl_subcompositor *wl_subcompositor, void *user_data)
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)
static uint32_t wl_callback_get_version(struct wl_callback *wl_callback)
static void wl_data_offer_set_user_data(struct wl_data_offer *wl_data_offer, void *user_data)
static int wl_data_source_add_listener(struct wl_data_source *wl_data_source, const struct wl_data_source_listener *listener, void *data)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static void wl_subsurface_set_position(struct wl_subsurface *wl_subsurface, int32_t x, int32_t y)
static void wl_shell_surface_set_fullscreen(struct wl_shell_surface *wl_shell_surface, uint32_t method, uint32_t framerate, struct wl_output *output)
static void wl_shell_surface_set_maximized(struct wl_shell_surface *wl_shell_surface, struct wl_output *output)
const struct wl_interface wl_keyboard_interface
static void * wl_buffer_get_user_data(struct wl_buffer *wl_buffer)
static void wl_region_add(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height)
static void wl_surface_set_buffer_transform(struct wl_surface *wl_surface, int32_t transform)
#define WL_DATA_DEVICE_START_DRAG
static void wl_shm_set_user_data(struct wl_shm *wl_shm, void *user_data)
static struct wl_callback * wl_display_sync(struct wl_display *wl_display)
#define WL_SURFACE_COMMIT
static void wl_surface_destroy(struct wl_surface *wl_surface)
static void wl_surface_damage(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height)
const struct wl_interface wl_data_device_interface
static uint32_t wl_compositor_get_version(struct wl_compositor *wl_compositor)
static void wl_data_offer_destroy(struct wl_data_offer *wl_data_offer)
static void wl_seat_destroy(struct wl_seat *wl_seat)
static void wl_shell_surface_pong(struct wl_shell_surface *wl_shell_surface, uint32_t serial)
const struct wl_interface wl_output_interface
static struct wl_touch * wl_seat_get_touch(struct wl_seat *wl_seat)
static void wl_data_offer_receive(struct wl_data_offer *wl_data_offer, const char *mime_type, int32_t fd)
#define WL_SEAT_GET_KEYBOARD
static void * wl_region_get_user_data(struct wl_region *wl_region)
GLuint const GLchar * name
static void wl_compositor_destroy(struct wl_compositor *wl_compositor)
GLint GLint GLsizei width
static uint32_t wl_data_offer_get_version(struct wl_data_offer *wl_data_offer)
#define WL_SUBCOMPOSITOR_GET_SUBSURFACE
static uint32_t wl_data_source_get_version(struct wl_data_source *wl_data_source)
static void wl_compositor_set_user_data(struct wl_compositor *wl_compositor, void *user_data)
static void wl_subsurface_set_desync(struct wl_subsurface *wl_subsurface)
#define WL_SURFACE_DAMAGE_BUFFER
static uint32_t wl_data_device_get_version(struct wl_data_device *wl_data_device)
#define WL_SURFACE_SET_BUFFER_TRANSFORM
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
#define WL_SUBSURFACE_SET_DESYNC
static void * wl_touch_get_user_data(struct wl_touch *wl_touch)
static void wl_data_offer_accept(struct wl_data_offer *wl_data_offer, uint32_t serial, const char *mime_type)
static struct wl_callback * wl_surface_frame(struct wl_surface *wl_surface)
#define WL_SURFACE_SET_INPUT_REGION
#define WL_BUFFER_DESTROY
#define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE
static void wl_output_release(struct wl_output *wl_output)
static void * wl_data_source_get_user_data(struct wl_data_source *wl_data_source)
#define WL_SHELL_SURFACE_SET_MAXIMIZED
#define WL_SHELL_GET_SHELL_SURFACE
static void wl_callback_destroy(struct wl_callback *wl_callback)
#define WL_SHELL_SURFACE_SET_TOPLEVEL
static uint32_t wl_subcompositor_get_version(struct wl_subcompositor *wl_subcompositor)
static void wl_keyboard_release(struct wl_keyboard *wl_keyboard)
static void * wl_data_offer_get_user_data(struct wl_data_offer *wl_data_offer)
#define WL_SHM_POOL_CREATE_BUFFER
const struct wl_interface wl_data_offer_interface
static void wl_region_subtract(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height)
#define WL_DATA_OFFER_RECEIVE
#define WL_SUBCOMPOSITOR_DESTROY
#define WL_SHM_POOL_DESTROY
static void wl_shm_pool_destroy(struct wl_shm_pool *wl_shm_pool)
const struct wl_interface wl_pointer_interface
const struct wl_interface wl_callback_interface
static void wl_subsurface_place_above(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling)
static void wl_region_destroy(struct wl_region *wl_region)
static void wl_shm_destroy(struct wl_shm *wl_shm)
const struct wl_interface wl_region_interface
#define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE
static uint32_t wl_data_device_manager_get_version(struct wl_data_device_manager *wl_data_device_manager)
#define WL_DATA_SOURCE_SET_ACTIONS
GLsizei const GLfloat * value
#define WL_DISPLAY_GET_REGISTRY
#define WL_DATA_SOURCE_OFFER
const struct wl_interface wl_surface_interface
#define WL_DATA_OFFER_SET_ACTIONS
GLsizei GLsizei GLchar * source
#define WL_SEAT_GET_TOUCH
static Uint32 callback(Uint32 interval, void *param)
const struct wl_interface wl_buffer_interface
#define WL_SHELL_SURFACE_PONG
static void wl_registry_set_user_data(struct wl_registry *wl_registry, void *user_data)
GLint GLint GLint GLint GLint GLint y
#define WL_SHELL_SURFACE_SET_TITLE
static void wl_seat_set_user_data(struct wl_seat *wl_seat, void *user_data)
static struct wl_pointer * wl_seat_get_pointer(struct wl_seat *wl_seat)
static void wl_shell_surface_set_title(struct wl_shell_surface *wl_shell_surface, const char *title)
static int wl_touch_add_listener(struct wl_touch *wl_touch, const struct wl_touch_listener *listener, void *data)
static void wl_touch_set_user_data(struct wl_touch *wl_touch, void *user_data)
static void wl_data_offer_set_actions(struct wl_data_offer *wl_data_offer, uint32_t dnd_actions, uint32_t preferred_action)
static int wl_pointer_add_listener(struct wl_pointer *wl_pointer, const struct wl_pointer_listener *listener, void *data)
static void wl_subsurface_place_below(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling)
static int wl_data_offer_add_listener(struct wl_data_offer *wl_data_offer, const struct wl_data_offer_listener *listener, void *data)
static void * wl_data_device_manager_get_user_data(struct wl_data_device_manager *wl_data_device_manager)
static struct wl_shell_surface * wl_shell_get_shell_surface(struct wl_shell *wl_shell, struct wl_surface *surface)
static void wl_subsurface_set_user_data(struct wl_subsurface *wl_subsurface, void *user_data)
#define WL_POINTER_RELEASE
wl_data_device_manager_dnd_action
static int wl_seat_add_listener(struct wl_seat *wl_seat, const struct wl_seat_listener *listener, void *data)
#define WL_COMPOSITOR_CREATE_REGION
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)
static void wl_data_device_manager_set_user_data(struct wl_data_device_manager *wl_data_device_manager, void *user_data)
static void * wl_surface_get_user_data(struct wl_surface *wl_surface)
static uint32_t wl_region_get_version(struct wl_region *wl_region)
#define WL_DATA_OFFER_FINISH
#define WL_SHELL_SURFACE_SET_TRANSIENT
static void wl_data_device_release(struct wl_data_device *wl_data_device)
static int wl_output_add_listener(struct wl_output *wl_output, const struct wl_output_listener *listener, void *data)
static void wl_output_destroy(struct wl_output *wl_output)
#define WL_SHM_POOL_RESIZE
static void wl_surface_set_opaque_region(struct wl_surface *wl_surface, struct wl_region *region)
static void wl_buffer_destroy(struct wl_buffer *wl_buffer)
static void wl_data_device_set_user_data(struct wl_data_device *wl_data_device, void *user_data)
static void * wl_subcompositor_get_user_data(struct wl_subcompositor *wl_subcompositor)
const struct wl_interface wl_shell_surface_interface
static void wl_data_device_destroy(struct wl_data_device *wl_data_device)
static int wl_keyboard_add_listener(struct wl_keyboard *wl_keyboard, const struct wl_keyboard_listener *listener, void *data)
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)
static void wl_callback_set_user_data(struct wl_callback *wl_callback, void *user_data)
static uint32_t wl_shell_surface_get_version(struct wl_shell_surface *wl_shell_surface)
#define WL_SEAT_GET_POINTER
GLint GLint GLsizei GLsizei height
static int wl_data_device_add_listener(struct wl_data_device *wl_data_device, const struct wl_data_device_listener *listener, void *data)
#define WL_SURFACE_SET_BUFFER_SCALE
const struct wl_interface wl_shell_interface
static struct wl_surface * wl_compositor_create_surface(struct wl_compositor *wl_compositor)
#define WL_DATA_DEVICE_RELEASE
#define WL_REGION_DESTROY
const struct wl_interface wl_subcompositor_interface
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
static void wl_keyboard_destroy(struct wl_keyboard *wl_keyboard)
#define WL_SHELL_SURFACE_SET_CLASS
GLuint GLenum GLenum transform
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)
static void * wl_shell_get_user_data(struct wl_shell *wl_shell)
#define WL_DATA_SOURCE_DESTROY
static void wl_data_device_set_selection(struct wl_data_device *wl_data_device, struct wl_data_source *source, uint32_t serial)
static void wl_region_set_user_data(struct wl_region *wl_region, void *user_data)
static void wl_data_source_destroy(struct wl_data_source *wl_data_source)
static void wl_data_device_manager_destroy(struct wl_data_device_manager *wl_data_device_manager)
static void wl_shell_surface_set_class(struct wl_shell_surface *wl_shell_surface, const char *class_)
const struct wl_interface wl_seat_interface
static void * wl_registry_get_user_data(struct wl_registry *wl_registry)
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)
static int wl_shm_add_listener(struct wl_shm *wl_shm, const struct wl_shm_listener *listener, void *data)
static struct wl_shm_pool * wl_shm_create_pool(struct wl_shm *wl_shm, int32_t fd, int32_t size)
static void * wl_shm_get_user_data(struct wl_shm *wl_shm)
#define WL_SURFACE_ATTACH
static void wl_data_source_set_user_data(struct wl_data_source *wl_data_source, void *user_data)
static void wl_data_offer_finish(struct wl_data_offer *wl_data_offer)
static uint32_t wl_display_get_version(struct wl_display *wl_display)
static uint32_t wl_seat_get_version(struct wl_seat *wl_seat)
#define WL_SHELL_SURFACE_RESIZE
static void wl_pointer_set_user_data(struct wl_pointer *wl_pointer, void *user_data)
static uint32_t wl_output_get_version(struct wl_output *wl_output)
const struct wl_interface wl_data_device_manager_interface
wl_keyboard_keymap_format
static void wl_keyboard_set_user_data(struct wl_keyboard *wl_keyboard, void *user_data)
static void * wl_keyboard_get_user_data(struct wl_keyboard *wl_keyboard)
static void wl_subcompositor_destroy(struct wl_subcompositor *wl_subcompositor)
static uint32_t wl_pointer_get_version(struct wl_pointer *wl_pointer)
#define WL_SURFACE_DESTROY
static void wl_seat_release(struct wl_seat *wl_seat)
static uint32_t wl_keyboard_get_version(struct wl_keyboard *wl_keyboard)
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)
static int wl_display_add_listener(struct wl_display *wl_display, const struct wl_display_listener *listener, void *data)
EGLint EGLint EGLuint64KHR * modifiers
static void wl_shell_surface_move(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial)
#define WL_REGION_SUBTRACT
static int wl_shell_surface_add_listener(struct wl_shell_surface *wl_shell_surface, const struct wl_shell_surface_listener *listener, void *data)
static void * wl_callback_get_user_data(struct wl_callback *wl_callback)
static int wl_surface_add_listener(struct wl_surface *wl_surface, const struct wl_surface_listener *listener, void *data)
#define WL_SHELL_SURFACE_SET_POPUP
static uint32_t wl_surface_get_version(struct wl_surface *wl_surface)
#define WL_SUBSURFACE_SET_SYNC
static void * wl_display_get_user_data(struct wl_display *wl_display)
static void wl_shm_pool_resize(struct wl_shm_pool *wl_shm_pool, int32_t size)
static uint32_t wl_touch_get_version(struct wl_touch *wl_touch)
#define WL_KEYBOARD_RELEASE
#define WL_DATA_OFFER_DESTROY
static void wl_buffer_set_user_data(struct wl_buffer *wl_buffer, void *user_data)
static void wl_surface_set_input_region(struct wl_surface *wl_surface, struct wl_region *region)
static struct wl_keyboard * wl_seat_get_keyboard(struct wl_seat *wl_seat)
static void * wl_shm_pool_get_user_data(struct wl_shm_pool *wl_shm_pool)
static int wl_registry_add_listener(struct wl_registry *wl_registry, const struct wl_registry_listener *listener, void *data)
static uint32_t wl_registry_get_version(struct wl_registry *wl_registry)
static void * wl_subsurface_get_user_data(struct wl_subsurface *wl_subsurface)
static void wl_shm_pool_set_user_data(struct wl_shm_pool *wl_shm_pool, void *user_data)
static void wl_touch_destroy(struct wl_touch *wl_touch)