1 #ifndef TEXT_CURSOR_POSITION_CLIENT_PROTOCOL_H
2 #define TEXT_CURSOR_POSITION_CLIENT_PROTOCOL_H
10 #include "wayland-client.h"
15 struct text_cursor_position;
17 extern const struct wl_interface text_cursor_position_interface;
19 #define TEXT_CURSOR_POSITION_NOTIFY 0
22 text_cursor_position_set_user_data(struct text_cursor_position *text_cursor_position, void *user_data)
24 wl_proxy_set_user_data((struct wl_proxy *) text_cursor_position, user_data);
28 text_cursor_position_get_user_data(struct text_cursor_position *text_cursor_position)
30 return wl_proxy_get_user_data((struct wl_proxy *) text_cursor_position);
34 text_cursor_position_destroy(struct text_cursor_position *text_cursor_position)
36 wl_proxy_destroy((struct wl_proxy *) text_cursor_position);
40 text_cursor_position_notify(struct text_cursor_position *text_cursor_position, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y)
42 wl_proxy_marshal((struct wl_proxy *) text_cursor_position,
43 TEXT_CURSOR_POSITION_NOTIFY, surface, x, y);