summaryrefslogtreecommitdiff
path: root/wayland-client.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-07 08:39:37 -0500
committerKristian Høgsberg <krh@redhat.com>2008-11-07 08:39:37 -0500
commit7f77bd8fbedee8a8a1fbb26776084ccaffc2a087 (patch)
tree1d93060c20a11ece0fef71d3a061d918072f40c2 /wayland-client.h
parent5503bf82c44b2da26c27582b3d4400d7fd8d23c3 (diff)
Add copy and damage surface requests.
Diffstat (limited to 'wayland-client.h')
-rw-r--r--wayland-client.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/wayland-client.h b/wayland-client.h
index ce33b7b..82b9b7c 100644
--- a/wayland-client.h
+++ b/wayland-client.h
@@ -27,8 +27,13 @@ wl_display_create_surface(struct wl_display *display);
void wl_surface_destroy(struct wl_surface *surface);
void wl_surface_attach(struct wl_surface *surface,
- uint32_t name, int width, int height, int stride);
+ uint32_t name, int32_t width, int32_t height, uint32_t stride);
void wl_surface_map(struct wl_surface *surface,
int32_t x, int32_t y, int32_t width, int32_t height);
+void wl_surface_copy(struct wl_surface *surface, int32_t dst_x, int32_t dst_y,
+ uint32_t name, uint32_t stride,
+ int32_t x, int32_t y, int32_t width, int32_t height);
+void wl_surface_damage(struct wl_surface *surface,
+ int32_t x, int32_t y, int32_t width, int32_t height);
#endif