summaryrefslogtreecommitdiff
path: root/src/platform/wayland/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/wayland/api.h')
-rw-r--r--src/platform/wayland/api.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/platform/wayland/api.h b/src/platform/wayland/api.h
index c3e5676..04a6bf1 100644
--- a/src/platform/wayland/api.h
+++ b/src/platform/wayland/api.h
@@ -22,7 +22,6 @@ struct wayland_surface *wayland_surface_create_toplevel(struct wayland_display *
struct wayland_surface *wayland_surface_create_popup(struct wayland_surface *parent, const struct yasl_popup_spec *spec);
bool wayland_surface_popup_reposition(struct wayland_surface *popup, const struct yasl_popup_spec *spec);
void wayland_surface_destroy(struct wayland_surface *s);
-struct wayland_display *wayland_surface_display(const struct wayland_surface *s);
void wayland_surface_set_callbacks(struct wayland_surface *s, const struct yasl_window_cbs *cbs, void *ud);
void wayland_surface_set_title(struct wayland_surface *s, const char *title);
void wayland_surface_schedule_redraw(struct wayland_surface *s);
@@ -31,10 +30,8 @@ bool wayland_surface_input_poll(struct wayland_surface *s, struct yasl_input_eve
struct yasl_geometry wayland_surface_geometry(const struct wayland_surface *s);
uint32_t wayland_surface_state(const struct wayland_surface *s);
struct yasl_timing wayland_surface_timing(const struct wayland_surface *s);
-uint64_t wayland_surface_frame_time_ns(struct wayland_surface *s, uint64_t now);
void wayland_surface_set_cursor(struct wayland_surface *s, enum yasl_cursor cursor);
void wayland_surface_set_background_color(struct wayland_surface *s, uint32_t bg);
-const char *wayland_surface_ime_preedit(const struct wayland_surface *s);
bool wayland_surface_ime_preedit_cursor(const struct wayland_surface *s, int *begin, int *end);
void wayland_surface_set_ime_caret(struct wayland_surface *s, struct yasl_rect2i caret);
bool wayland_surface_start_interactive_move(struct wayland_surface *s);
@@ -42,7 +39,5 @@ bool wayland_surface_start_interactive_resize(struct wayland_surface *s, enum ya
bool wayland_surface_show_window_menu(struct wayland_surface *s, struct yasl_vector2i pos);
bool wayland_surface_drag_carry(struct wayland_surface *s, struct yasl_vector2i offset);
bool wayland_surface_place_under_pointer(struct wayland_surface *s, struct yasl_vector2i at);
-void *wayland_display_get_native_handle(struct wayland_display *d);
-void *wayland_surface_get_native_handle(struct wayland_surface *s);
#endif