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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform/wayland/api.h b/src/platform/wayland/api.h
index 6c3154c..9f290f5 100644
--- a/src/platform/wayland/api.h
+++ b/src/platform/wayland/api.h
@@ -39,5 +39,7 @@ bool wayland_surface_show_window_menu(struct wayland_surface *s, struct yasl_vec
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);
bool wayland_surface_bell(struct wayland_surface *s);
+bool wayland_surface_read_pixels(struct wayland_surface *s, uint32_t *out, size_t cap,
+ struct yasl_vector2i *size);
#endif