summaryrefslogtreecommitdiffstats
path: root/wayland-client.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-23 23:41:08 -0500
committerNaruto Uzumaki <root@kabuto.bos.redhat.com>2008-11-24 00:06:16 -0500
commit1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c (patch)
tree9a2a49e71efd7489a033f8d4013055aa9bec88b6 /wayland-client.h
parent14fcff77265bbdf9893925c993c10d52c178e566 (diff)
downloadwayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.gz
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.xz
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.zip
Expose screenshooting as an interface, drop SIGUSR hack.
This pulls in a bit of extra infrastructure for discovering adertised objects on the client side.
Diffstat (limited to 'wayland-client.h')
-rw-r--r--wayland-client.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/wayland-client.h b/wayland-client.h
index 138b045..05f19b0 100644
--- a/wayland-client.h
+++ b/wayland-client.h
@@ -32,7 +32,6 @@ void wl_display_set_event_handler(struct wl_display *display,
wl_display_event_func_t handler,
void *data);
-
struct wl_surface *
wl_display_create_surface(struct wl_display *display);
@@ -47,4 +46,15 @@ void wl_surface_copy(struct wl_surface *surface, int32_t dst_x, int32_t dst_y,
void wl_surface_damage(struct wl_surface *surface,
int32_t x, int32_t y, int32_t width, int32_t height);
+
+/* These entry points are for client side implementation of custom
+ * objects. */
+
+uint32_t wl_display_get_object_id(struct wl_display *display,
+ const char *interface);
+uint32_t wl_display_allocate_id(struct wl_display *display);
+void wl_display_write(struct wl_display *display,
+ const void *data,
+ size_t count);
+
#endif