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;
818 #ifndef WL_DISPLAY_ERROR_ENUM 819 #define WL_DISPLAY_ERROR_ENUM 863 struct wl_display *wl_display,
878 struct wl_display *wl_display,
889 return wl_proxy_add_listener((
struct wl_proxy *) wl_display,
890 (
void (**)(
void)) listener, data);
893 #define WL_DISPLAY_SYNC 0 894 #define WL_DISPLAY_GET_REGISTRY 1 899 #define WL_DISPLAY_ERROR_SINCE_VERSION 1 903 #define WL_DISPLAY_DELETE_ID_SINCE_VERSION 1 908 #define WL_DISPLAY_SYNC_SINCE_VERSION 1 912 #define WL_DISPLAY_GET_REGISTRY_SINCE_VERSION 1 918 wl_proxy_set_user_data((
struct wl_proxy *) wl_display, user_data);
925 return wl_proxy_get_user_data((
struct wl_proxy *) wl_display);
931 return wl_proxy_get_version((
struct wl_proxy *) wl_display);
949 static inline struct wl_callback *
954 callback = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_display,
957 return (
struct wl_callback *)
callback;
973 static inline struct wl_registry *
976 struct wl_proxy *registry;
978 registry = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_display,
981 return (
struct wl_registry *) registry;
1002 struct wl_registry *wl_registry,
1004 const char *interface,
1022 struct wl_registry *wl_registry,
1033 return wl_proxy_add_listener((
struct wl_proxy *) wl_registry,
1034 (
void (**)(
void)) listener, data);
1037 #define WL_REGISTRY_BIND 0 1042 #define WL_REGISTRY_GLOBAL_SINCE_VERSION 1 1046 #define WL_REGISTRY_GLOBAL_REMOVE_SINCE_VERSION 1 1051 #define WL_REGISTRY_BIND_SINCE_VERSION 1 1057 wl_proxy_set_user_data((
struct wl_proxy *) wl_registry, user_data);
1061 static inline void *
1064 return wl_proxy_get_user_data((
struct wl_proxy *) wl_registry);
1070 return wl_proxy_get_version((
struct wl_proxy *) wl_registry);
1077 wl_proxy_destroy((
struct wl_proxy *) wl_registry);
1086 static inline void *
1089 struct wl_proxy *
id;
1091 id = wl_proxy_marshal_constructor_versioned((
struct wl_proxy *) wl_registry,
1109 struct wl_callback *wl_callback,
1120 return wl_proxy_add_listener((
struct wl_proxy *) wl_callback,
1121 (
void (**)(
void)) listener, data);
1127 #define WL_CALLBACK_DONE_SINCE_VERSION 1 1134 wl_proxy_set_user_data((
struct wl_proxy *) wl_callback, user_data);
1138 static inline void *
1141 return wl_proxy_get_user_data((
struct wl_proxy *) wl_callback);
1147 return wl_proxy_get_version((
struct wl_proxy *) wl_callback);
1154 wl_proxy_destroy((
struct wl_proxy *) wl_callback);
1157 #define WL_COMPOSITOR_CREATE_SURFACE 0 1158 #define WL_COMPOSITOR_CREATE_REGION 1 1164 #define WL_COMPOSITOR_CREATE_SURFACE_SINCE_VERSION 1 1168 #define WL_COMPOSITOR_CREATE_REGION_SINCE_VERSION 1 1174 wl_proxy_set_user_data((
struct wl_proxy *) wl_compositor, user_data);
1178 static inline void *
1181 return wl_proxy_get_user_data((
struct wl_proxy *) wl_compositor);
1187 return wl_proxy_get_version((
struct wl_proxy *) wl_compositor);
1194 wl_proxy_destroy((
struct wl_proxy *) wl_compositor);
1202 static inline struct wl_surface *
1205 struct wl_proxy *
id;
1207 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_compositor,
1210 return (
struct wl_surface *)
id;
1218 static inline struct wl_region *
1221 struct wl_proxy *
id;
1223 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_compositor,
1226 return (
struct wl_region *)
id;
1229 #define WL_SHM_POOL_CREATE_BUFFER 0 1230 #define WL_SHM_POOL_DESTROY 1 1231 #define WL_SHM_POOL_RESIZE 2 1237 #define WL_SHM_POOL_CREATE_BUFFER_SINCE_VERSION 1 1241 #define WL_SHM_POOL_DESTROY_SINCE_VERSION 1 1245 #define WL_SHM_POOL_RESIZE_SINCE_VERSION 1 1251 wl_proxy_set_user_data((
struct wl_proxy *) wl_shm_pool, user_data);
1255 static inline void *
1258 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shm_pool);
1264 return wl_proxy_get_version((
struct wl_proxy *) wl_shm_pool);
1282 static inline struct wl_buffer *
1285 struct wl_proxy *
id;
1287 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_shm_pool,
1290 return (
struct wl_buffer *)
id;
1305 wl_proxy_marshal((
struct wl_proxy *) wl_shm_pool,
1308 wl_proxy_destroy((
struct wl_proxy *) wl_shm_pool);
1322 wl_proxy_marshal((
struct wl_proxy *) wl_shm_pool,
1326 #ifndef WL_SHM_ERROR_ENUM 1327 #define WL_SHM_ERROR_ENUM 1350 #ifndef WL_SHM_FORMAT_ENUM 1351 #define WL_SHM_FORMAT_ENUM 1615 struct wl_shm *wl_shm,
1626 return wl_proxy_add_listener((
struct wl_proxy *) wl_shm,
1627 (
void (**)(
void)) listener, data);
1630 #define WL_SHM_CREATE_POOL 0 1635 #define WL_SHM_FORMAT_SINCE_VERSION 1 1640 #define WL_SHM_CREATE_POOL_SINCE_VERSION 1 1646 wl_proxy_set_user_data((
struct wl_proxy *) wl_shm, user_data);
1650 static inline void *
1653 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shm);
1659 return wl_proxy_get_version((
struct wl_proxy *) wl_shm);
1666 wl_proxy_destroy((
struct wl_proxy *) wl_shm);
1678 static inline struct wl_shm_pool *
1681 struct wl_proxy *
id;
1683 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_shm,
1686 return (
struct wl_shm_pool *)
id;
1711 struct wl_buffer *wl_buffer);
1721 return wl_proxy_add_listener((
struct wl_proxy *) wl_buffer,
1722 (
void (**)(
void)) listener, data);
1725 #define WL_BUFFER_DESTROY 0 1730 #define WL_BUFFER_RELEASE_SINCE_VERSION 1 1735 #define WL_BUFFER_DESTROY_SINCE_VERSION 1 1741 wl_proxy_set_user_data((
struct wl_proxy *) wl_buffer, user_data);
1745 static inline void *
1748 return wl_proxy_get_user_data((
struct wl_proxy *) wl_buffer);
1754 return wl_proxy_get_version((
struct wl_proxy *) wl_buffer);
1768 wl_proxy_marshal((
struct wl_proxy *) wl_buffer,
1771 wl_proxy_destroy((
struct wl_proxy *) wl_buffer);
1774 #ifndef WL_DATA_OFFER_ERROR_ENUM 1775 #define WL_DATA_OFFER_ERROR_ENUM 1809 struct wl_data_offer *wl_data_offer,
1810 const char *mime_type);
1822 struct wl_data_offer *wl_data_offer,
1868 struct wl_data_offer *wl_data_offer,
1879 return wl_proxy_add_listener((
struct wl_proxy *) wl_data_offer,
1880 (
void (**)(
void)) listener, data);
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 1892 #define WL_DATA_OFFER_OFFER_SINCE_VERSION 1 1896 #define WL_DATA_OFFER_SOURCE_ACTIONS_SINCE_VERSION 3 1900 #define WL_DATA_OFFER_ACTION_SINCE_VERSION 3 1905 #define WL_DATA_OFFER_ACCEPT_SINCE_VERSION 1 1909 #define WL_DATA_OFFER_RECEIVE_SINCE_VERSION 1 1913 #define WL_DATA_OFFER_DESTROY_SINCE_VERSION 1 1917 #define WL_DATA_OFFER_FINISH_SINCE_VERSION 3 1921 #define WL_DATA_OFFER_SET_ACTIONS_SINCE_VERSION 3 1927 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_offer, user_data);
1931 static inline void *
1934 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_offer);
1940 return wl_proxy_get_version((
struct wl_proxy *) wl_data_offer);
1964 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
1990 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
2002 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
2005 wl_proxy_destroy((
struct wl_proxy *) wl_data_offer);
2026 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
2068 wl_proxy_marshal((
struct wl_proxy *) wl_data_offer,
2072 #ifndef WL_DATA_SOURCE_ERROR_ENUM 2073 #define WL_DATA_SOURCE_ERROR_ENUM 2101 struct wl_data_source *wl_data_source,
2102 const char *mime_type);
2113 struct wl_data_source *wl_data_source,
2114 const char *mime_type,
2140 struct wl_data_source *wl_data_source);
2158 struct wl_data_source *wl_data_source);
2171 struct wl_data_source *wl_data_source);
2206 struct wl_data_source *wl_data_source,
2217 return wl_proxy_add_listener((
struct wl_proxy *) wl_data_source,
2218 (
void (**)(
void)) listener, data);
2221 #define WL_DATA_SOURCE_OFFER 0 2222 #define WL_DATA_SOURCE_DESTROY 1 2223 #define WL_DATA_SOURCE_SET_ACTIONS 2 2228 #define WL_DATA_SOURCE_TARGET_SINCE_VERSION 1 2232 #define WL_DATA_SOURCE_SEND_SINCE_VERSION 1 2236 #define WL_DATA_SOURCE_CANCELLED_SINCE_VERSION 1 2240 #define WL_DATA_SOURCE_DND_DROP_PERFORMED_SINCE_VERSION 3 2244 #define WL_DATA_SOURCE_DND_FINISHED_SINCE_VERSION 3 2248 #define WL_DATA_SOURCE_ACTION_SINCE_VERSION 3 2253 #define WL_DATA_SOURCE_OFFER_SINCE_VERSION 1 2257 #define WL_DATA_SOURCE_DESTROY_SINCE_VERSION 1 2261 #define WL_DATA_SOURCE_SET_ACTIONS_SINCE_VERSION 3 2267 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_source, user_data);
2271 static inline void *
2274 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_source);
2280 return wl_proxy_get_version((
struct wl_proxy *) wl_data_source);
2293 wl_proxy_marshal((
struct wl_proxy *) wl_data_source,
2305 wl_proxy_marshal((
struct wl_proxy *) wl_data_source,
2308 wl_proxy_destroy((
struct wl_proxy *) wl_data_source);
2331 wl_proxy_marshal((
struct wl_proxy *) wl_data_source,
2335 #ifndef WL_DATA_DEVICE_ERROR_ENUM 2336 #define WL_DATA_DEVICE_ERROR_ENUM 2363 struct wl_data_device *wl_data_device,
2364 struct wl_data_offer *
id);
2379 struct wl_data_device *wl_data_device,
2384 struct wl_data_offer *
id);
2393 struct wl_data_device *wl_data_device);
2406 struct wl_data_device *wl_data_device,
2428 struct wl_data_device *wl_data_device);
2445 struct wl_data_device *wl_data_device,
2446 struct wl_data_offer *
id);
2456 return wl_proxy_add_listener((
struct wl_proxy *) wl_data_device,
2457 (
void (**)(
void)) listener, data);
2460 #define WL_DATA_DEVICE_START_DRAG 0 2461 #define WL_DATA_DEVICE_SET_SELECTION 1 2462 #define WL_DATA_DEVICE_RELEASE 2 2467 #define WL_DATA_DEVICE_DATA_OFFER_SINCE_VERSION 1 2471 #define WL_DATA_DEVICE_ENTER_SINCE_VERSION 1 2475 #define WL_DATA_DEVICE_LEAVE_SINCE_VERSION 1 2479 #define WL_DATA_DEVICE_MOTION_SINCE_VERSION 1 2483 #define WL_DATA_DEVICE_DROP_SINCE_VERSION 1 2487 #define WL_DATA_DEVICE_SELECTION_SINCE_VERSION 1 2492 #define WL_DATA_DEVICE_START_DRAG_SINCE_VERSION 1 2496 #define WL_DATA_DEVICE_SET_SELECTION_SINCE_VERSION 1 2500 #define WL_DATA_DEVICE_RELEASE_SINCE_VERSION 2 2506 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_device, user_data);
2510 static inline void *
2513 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_device);
2519 return wl_proxy_get_version((
struct wl_proxy *) wl_data_device);
2526 wl_proxy_destroy((
struct wl_proxy *) wl_data_device);
2563 wl_proxy_marshal((
struct wl_proxy *) wl_data_device,
2578 wl_proxy_marshal((
struct wl_proxy *) wl_data_device,
2590 wl_proxy_marshal((
struct wl_proxy *) wl_data_device,
2593 wl_proxy_destroy((
struct wl_proxy *) wl_data_device);
2596 #ifndef WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM 2597 #define WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM 2646 #define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE 0 2647 #define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE 1 2653 #define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE_SINCE_VERSION 1 2657 #define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE_SINCE_VERSION 1 2663 wl_proxy_set_user_data((
struct wl_proxy *) wl_data_device_manager, user_data);
2667 static inline void *
2670 return wl_proxy_get_user_data((
struct wl_proxy *) wl_data_device_manager);
2676 return wl_proxy_get_version((
struct wl_proxy *) wl_data_device_manager);
2683 wl_proxy_destroy((
struct wl_proxy *) wl_data_device_manager);
2691 static inline struct wl_data_source *
2694 struct wl_proxy *
id;
2696 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_data_device_manager,
2699 return (
struct wl_data_source *)
id;
2707 static inline struct wl_data_device *
2710 struct wl_proxy *
id;
2712 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_data_device_manager,
2715 return (
struct wl_data_device *)
id;
2718 #ifndef WL_SHELL_ERROR_ENUM 2719 #define WL_SHELL_ERROR_ENUM 2728 #define WL_SHELL_GET_SHELL_SURFACE 0 2734 #define WL_SHELL_GET_SHELL_SURFACE_SINCE_VERSION 1 2740 wl_proxy_set_user_data((
struct wl_proxy *) wl_shell, user_data);
2744 static inline void *
2747 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shell);
2753 return wl_proxy_get_version((
struct wl_proxy *) wl_shell);
2760 wl_proxy_destroy((
struct wl_proxy *) wl_shell);
2772 static inline struct wl_shell_surface *
2775 struct wl_proxy *
id;
2777 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_shell,
2780 return (
struct wl_shell_surface *)
id;
2783 #ifndef WL_SHELL_SURFACE_RESIZE_ENUM 2784 #define WL_SHELL_SURFACE_RESIZE_ENUM 2834 #ifndef WL_SHELL_SURFACE_TRANSIENT_ENUM 2835 #define WL_SHELL_SURFACE_TRANSIENT_ENUM 2851 #ifndef WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM 2852 #define WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM 2894 struct wl_shell_surface *wl_shell_surface,
2921 struct wl_shell_surface *wl_shell_surface,
2933 struct wl_shell_surface *wl_shell_surface);
2943 return wl_proxy_add_listener((
struct wl_proxy *) wl_shell_surface,
2944 (
void (**)(
void)) listener, data);
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 2961 #define WL_SHELL_SURFACE_PING_SINCE_VERSION 1 2965 #define WL_SHELL_SURFACE_CONFIGURE_SINCE_VERSION 1 2969 #define WL_SHELL_SURFACE_POPUP_DONE_SINCE_VERSION 1 2974 #define WL_SHELL_SURFACE_PONG_SINCE_VERSION 1 2978 #define WL_SHELL_SURFACE_MOVE_SINCE_VERSION 1 2982 #define WL_SHELL_SURFACE_RESIZE_SINCE_VERSION 1 2986 #define WL_SHELL_SURFACE_SET_TOPLEVEL_SINCE_VERSION 1 2990 #define WL_SHELL_SURFACE_SET_TRANSIENT_SINCE_VERSION 1 2994 #define WL_SHELL_SURFACE_SET_FULLSCREEN_SINCE_VERSION 1 2998 #define WL_SHELL_SURFACE_SET_POPUP_SINCE_VERSION 1 3002 #define WL_SHELL_SURFACE_SET_MAXIMIZED_SINCE_VERSION 1 3006 #define WL_SHELL_SURFACE_SET_TITLE_SINCE_VERSION 1 3010 #define WL_SHELL_SURFACE_SET_CLASS_SINCE_VERSION 1 3016 wl_proxy_set_user_data((
struct wl_proxy *) wl_shell_surface, user_data);
3020 static inline void *
3023 return wl_proxy_get_user_data((
struct wl_proxy *) wl_shell_surface);
3029 return wl_proxy_get_version((
struct wl_proxy *) wl_shell_surface);
3036 wl_proxy_destroy((
struct wl_proxy *) wl_shell_surface);
3048 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3064 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3080 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3094 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3112 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3156 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3186 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3215 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3233 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3250 wl_proxy_marshal((
struct wl_proxy *) wl_shell_surface,
3254 #ifndef WL_SURFACE_ERROR_ENUM 3255 #define WL_SURFACE_ERROR_ENUM 3291 struct wl_surface *wl_surface,
3292 struct wl_output *
output);
3302 struct wl_surface *wl_surface,
3303 struct wl_output *
output);
3313 return wl_proxy_add_listener((
struct wl_proxy *) wl_surface,
3314 (
void (**)(
void)) listener, data);
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 3331 #define WL_SURFACE_ENTER_SINCE_VERSION 1 3335 #define WL_SURFACE_LEAVE_SINCE_VERSION 1 3340 #define WL_SURFACE_DESTROY_SINCE_VERSION 1 3344 #define WL_SURFACE_ATTACH_SINCE_VERSION 1 3348 #define WL_SURFACE_DAMAGE_SINCE_VERSION 1 3352 #define WL_SURFACE_FRAME_SINCE_VERSION 1 3356 #define WL_SURFACE_SET_OPAQUE_REGION_SINCE_VERSION 1 3360 #define WL_SURFACE_SET_INPUT_REGION_SINCE_VERSION 1 3364 #define WL_SURFACE_COMMIT_SINCE_VERSION 1 3368 #define WL_SURFACE_SET_BUFFER_TRANSFORM_SINCE_VERSION 2 3372 #define WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION 3 3376 #define WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION 4 3382 wl_proxy_set_user_data((
struct wl_proxy *) wl_surface, user_data);
3386 static inline void *
3389 return wl_proxy_get_user_data((
struct wl_proxy *) wl_surface);
3395 return wl_proxy_get_version((
struct wl_proxy *) wl_surface);
3406 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3409 wl_proxy_destroy((
struct wl_proxy *) wl_surface);
3458 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3490 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3530 static inline struct wl_callback *
3535 callback = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_surface,
3538 return (
struct wl_callback *)
callback;
3572 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3605 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3633 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3673 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3707 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3750 wl_proxy_marshal((
struct wl_proxy *) wl_surface,
3754 #ifndef WL_SEAT_CAPABILITY_ENUM 3755 #define WL_SEAT_CAPABILITY_ENUM 3815 struct wl_seat *wl_seat,
3827 struct wl_seat *wl_seat,
3838 return wl_proxy_add_listener((
struct wl_proxy *) wl_seat,
3839 (
void (**)(
void)) listener, data);
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 3850 #define WL_SEAT_CAPABILITIES_SINCE_VERSION 1 3854 #define WL_SEAT_NAME_SINCE_VERSION 2 3859 #define WL_SEAT_GET_POINTER_SINCE_VERSION 1 3863 #define WL_SEAT_GET_KEYBOARD_SINCE_VERSION 1 3867 #define WL_SEAT_GET_TOUCH_SINCE_VERSION 1 3871 #define WL_SEAT_RELEASE_SINCE_VERSION 5 3877 wl_proxy_set_user_data((
struct wl_proxy *) wl_seat, user_data);
3881 static inline void *
3884 return wl_proxy_get_user_data((
struct wl_proxy *) wl_seat);
3890 return wl_proxy_get_version((
struct wl_proxy *) wl_seat);
3897 wl_proxy_destroy((
struct wl_proxy *) wl_seat);
3911 static inline struct wl_pointer *
3914 struct wl_proxy *
id;
3916 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_seat,
3919 return (
struct wl_pointer *)
id;
3933 static inline struct wl_keyboard *
3936 struct wl_proxy *
id;
3938 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_seat,
3941 return (
struct wl_keyboard *)
id;
3955 static inline struct wl_touch *
3958 struct wl_proxy *
id;
3960 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_seat,
3963 return (
struct wl_touch *)
id;
3975 wl_proxy_marshal((
struct wl_proxy *) wl_seat,
3978 wl_proxy_destroy((
struct wl_proxy *) wl_seat);
3981 #ifndef WL_POINTER_ERROR_ENUM 3982 #define WL_POINTER_ERROR_ENUM 3991 #ifndef WL_POINTER_BUTTON_STATE_ENUM 3992 #define WL_POINTER_BUTTON_STATE_ENUM 4012 #ifndef WL_POINTER_AXIS_ENUM 4013 #define WL_POINTER_AXIS_ENUM 4032 #ifndef WL_POINTER_AXIS_SOURCE_ENUM 4033 #define WL_POINTER_AXIS_SOURCE_ENUM 4077 #define WL_POINTER_AXIS_SOURCE_WHEEL_TILT_SINCE_VERSION 6 4100 struct wl_pointer *wl_pointer,
4103 wl_fixed_t surface_x,
4104 wl_fixed_t surface_y);
4117 struct wl_pointer *wl_pointer,
4131 struct wl_pointer *wl_pointer,
4133 wl_fixed_t surface_x,
4134 wl_fixed_t surface_y);
4157 struct wl_pointer *wl_pointer,
4186 struct wl_pointer *wl_pointer,
4230 struct wl_pointer *wl_pointer);
4263 struct wl_pointer *wl_pointer,
4287 struct wl_pointer *wl_pointer,
4325 struct wl_pointer *wl_pointer,
4337 return wl_proxy_add_listener((
struct wl_proxy *) wl_pointer,
4338 (
void (**)(
void)) listener, data);
4341 #define WL_POINTER_SET_CURSOR 0 4342 #define WL_POINTER_RELEASE 1 4347 #define WL_POINTER_ENTER_SINCE_VERSION 1 4351 #define WL_POINTER_LEAVE_SINCE_VERSION 1 4355 #define WL_POINTER_MOTION_SINCE_VERSION 1 4359 #define WL_POINTER_BUTTON_SINCE_VERSION 1 4363 #define WL_POINTER_AXIS_SINCE_VERSION 1 4367 #define WL_POINTER_FRAME_SINCE_VERSION 5 4371 #define WL_POINTER_AXIS_SOURCE_SINCE_VERSION 5 4375 #define WL_POINTER_AXIS_STOP_SINCE_VERSION 5 4379 #define WL_POINTER_AXIS_DISCRETE_SINCE_VERSION 5 4384 #define WL_POINTER_SET_CURSOR_SINCE_VERSION 1 4388 #define WL_POINTER_RELEASE_SINCE_VERSION 3 4394 wl_proxy_set_user_data((
struct wl_proxy *) wl_pointer, user_data);
4398 static inline void *
4401 return wl_proxy_get_user_data((
struct wl_proxy *) wl_pointer);
4407 return wl_proxy_get_version((
struct wl_proxy *) wl_pointer);
4414 wl_proxy_destroy((
struct wl_proxy *) wl_pointer);
4455 wl_proxy_marshal((
struct wl_proxy *) wl_pointer,
4471 wl_proxy_marshal((
struct wl_proxy *) wl_pointer,
4474 wl_proxy_destroy((
struct wl_proxy *) wl_pointer);
4477 #ifndef WL_KEYBOARD_KEYMAP_FORMAT_ENUM 4478 #define WL_KEYBOARD_KEYMAP_FORMAT_ENUM 4498 #ifndef WL_KEYBOARD_KEY_STATE_ENUM 4499 #define WL_KEYBOARD_KEY_STATE_ENUM 4533 struct wl_keyboard *wl_keyboard,
4547 struct wl_keyboard *wl_keyboard,
4550 struct wl_array *keys);
4563 struct wl_keyboard *wl_keyboard,
4577 struct wl_keyboard *wl_keyboard,
4594 struct wl_keyboard *wl_keyboard,
4621 struct wl_keyboard *wl_keyboard,
4633 return wl_proxy_add_listener((
struct wl_proxy *) wl_keyboard,
4634 (
void (**)(
void)) listener, data);
4637 #define WL_KEYBOARD_RELEASE 0 4642 #define WL_KEYBOARD_KEYMAP_SINCE_VERSION 1 4646 #define WL_KEYBOARD_ENTER_SINCE_VERSION 1 4650 #define WL_KEYBOARD_LEAVE_SINCE_VERSION 1 4654 #define WL_KEYBOARD_KEY_SINCE_VERSION 1 4658 #define WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1 4662 #define WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4 4667 #define WL_KEYBOARD_RELEASE_SINCE_VERSION 3 4673 wl_proxy_set_user_data((
struct wl_proxy *) wl_keyboard, user_data);
4677 static inline void *
4680 return wl_proxy_get_user_data((
struct wl_proxy *) wl_keyboard);
4686 return wl_proxy_get_version((
struct wl_proxy *) wl_keyboard);
4693 wl_proxy_destroy((
struct wl_proxy *) wl_keyboard);
4702 wl_proxy_marshal((
struct wl_proxy *) wl_keyboard,
4705 wl_proxy_destroy((
struct wl_proxy *) wl_keyboard);
4728 struct wl_touch *wl_touch,
4746 struct wl_touch *wl_touch,
4760 struct wl_touch *wl_touch,
4778 struct wl_touch *wl_touch);
4790 struct wl_touch *wl_touch);
4826 struct wl_touch *wl_touch,
4861 struct wl_touch *wl_touch,
4863 wl_fixed_t orientation);
4873 return wl_proxy_add_listener((
struct wl_proxy *) wl_touch,
4874 (
void (**)(
void)) listener, data);
4877 #define WL_TOUCH_RELEASE 0 4882 #define WL_TOUCH_DOWN_SINCE_VERSION 1 4886 #define WL_TOUCH_UP_SINCE_VERSION 1 4890 #define WL_TOUCH_MOTION_SINCE_VERSION 1 4894 #define WL_TOUCH_FRAME_SINCE_VERSION 1 4898 #define WL_TOUCH_CANCEL_SINCE_VERSION 1 4902 #define WL_TOUCH_SHAPE_SINCE_VERSION 6 4906 #define WL_TOUCH_ORIENTATION_SINCE_VERSION 6 4911 #define WL_TOUCH_RELEASE_SINCE_VERSION 3 4917 wl_proxy_set_user_data((
struct wl_proxy *) wl_touch, user_data);
4921 static inline void *
4924 return wl_proxy_get_user_data((
struct wl_proxy *) wl_touch);
4930 return wl_proxy_get_version((
struct wl_proxy *) wl_touch);
4937 wl_proxy_destroy((
struct wl_proxy *) wl_touch);
4946 wl_proxy_marshal((
struct wl_proxy *) wl_touch,
4949 wl_proxy_destroy((
struct wl_proxy *) wl_touch);
4952 #ifndef WL_OUTPUT_SUBPIXEL_ENUM 4953 #define WL_OUTPUT_SUBPIXEL_ENUM 4989 #ifndef WL_OUTPUT_TRANSFORM_ENUM 4990 #define WL_OUTPUT_TRANSFORM_ENUM 5043 #ifndef WL_OUTPUT_MODE_ENUM 5044 #define WL_OUTPUT_MODE_ENUM 5085 struct wl_output *wl_output,
5116 struct wl_output *wl_output,
5132 struct wl_output *wl_output);
5156 struct wl_output *wl_output,
5167 return wl_proxy_add_listener((
struct wl_proxy *) wl_output,
5168 (
void (**)(
void)) listener, data);
5171 #define WL_OUTPUT_RELEASE 0 5176 #define WL_OUTPUT_GEOMETRY_SINCE_VERSION 1 5180 #define WL_OUTPUT_MODE_SINCE_VERSION 1 5184 #define WL_OUTPUT_DONE_SINCE_VERSION 2 5188 #define WL_OUTPUT_SCALE_SINCE_VERSION 2 5193 #define WL_OUTPUT_RELEASE_SINCE_VERSION 3 5199 wl_proxy_set_user_data((
struct wl_proxy *) wl_output, user_data);
5203 static inline void *
5206 return wl_proxy_get_user_data((
struct wl_proxy *) wl_output);
5212 return wl_proxy_get_version((
struct wl_proxy *) wl_output);
5219 wl_proxy_destroy((
struct wl_proxy *) wl_output);
5231 wl_proxy_marshal((
struct wl_proxy *) wl_output,
5234 wl_proxy_destroy((
struct wl_proxy *) wl_output);
5237 #define WL_REGION_DESTROY 0 5238 #define WL_REGION_ADD 1 5239 #define WL_REGION_SUBTRACT 2 5245 #define WL_REGION_DESTROY_SINCE_VERSION 1 5249 #define WL_REGION_ADD_SINCE_VERSION 1 5253 #define WL_REGION_SUBTRACT_SINCE_VERSION 1 5259 wl_proxy_set_user_data((
struct wl_proxy *) wl_region, user_data);
5263 static inline void *
5266 return wl_proxy_get_user_data((
struct wl_proxy *) wl_region);
5272 return wl_proxy_get_version((
struct wl_proxy *) wl_region);
5283 wl_proxy_marshal((
struct wl_proxy *) wl_region,
5286 wl_proxy_destroy((
struct wl_proxy *) wl_region);
5297 wl_proxy_marshal((
struct wl_proxy *) wl_region,
5309 wl_proxy_marshal((
struct wl_proxy *) wl_region,
5313 #ifndef WL_SUBCOMPOSITOR_ERROR_ENUM 5314 #define WL_SUBCOMPOSITOR_ERROR_ENUM 5323 #define WL_SUBCOMPOSITOR_DESTROY 0 5324 #define WL_SUBCOMPOSITOR_GET_SUBSURFACE 1 5330 #define WL_SUBCOMPOSITOR_DESTROY_SINCE_VERSION 1 5334 #define WL_SUBCOMPOSITOR_GET_SUBSURFACE_SINCE_VERSION 1 5340 wl_proxy_set_user_data((
struct wl_proxy *) wl_subcompositor, user_data);
5344 static inline void *
5347 return wl_proxy_get_user_data((
struct wl_proxy *) wl_subcompositor);
5353 return wl_proxy_get_version((
struct wl_proxy *) wl_subcompositor);
5366 wl_proxy_marshal((
struct wl_proxy *) wl_subcompositor,
5369 wl_proxy_destroy((
struct wl_proxy *) wl_subcompositor);
5391 static inline struct wl_subsurface *
5394 struct wl_proxy *
id;
5396 id = wl_proxy_marshal_constructor((
struct wl_proxy *) wl_subcompositor,
5399 return (
struct wl_subsurface *)
id;
5402 #ifndef WL_SUBSURFACE_ERROR_ENUM 5403 #define WL_SUBSURFACE_ERROR_ENUM 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 5423 #define WL_SUBSURFACE_DESTROY_SINCE_VERSION 1 5427 #define WL_SUBSURFACE_SET_POSITION_SINCE_VERSION 1 5431 #define WL_SUBSURFACE_PLACE_ABOVE_SINCE_VERSION 1 5435 #define WL_SUBSURFACE_PLACE_BELOW_SINCE_VERSION 1 5439 #define WL_SUBSURFACE_SET_SYNC_SINCE_VERSION 1 5443 #define WL_SUBSURFACE_SET_DESYNC_SINCE_VERSION 1 5449 wl_proxy_set_user_data((
struct wl_proxy *) wl_subsurface, user_data);
5453 static inline void *
5456 return wl_proxy_get_user_data((
struct wl_proxy *) wl_subsurface);
5462 return wl_proxy_get_version((
struct wl_proxy *) wl_subsurface);
5477 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5480 wl_proxy_destroy((
struct wl_proxy *) wl_subsurface);
5506 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5532 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5545 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5569 wl_proxy_marshal((
struct wl_proxy *) wl_subsurface,
5599 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)