summaryrefslogtreecommitdiffstats
path: root/wayland.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-12-18 17:55:33 -0500
committerKristian Høgsberg <krh@redhat.com>2008-12-18 17:55:33 -0500
commitde31d5ca6f2650da3c4e8c45acdcee73ed655602 (patch)
tree70b4ee4696bf6575a384608577665fa3b8aedcee /wayland.h
parentc8c5d5872d3e12896eeb70c48883143a50a1cdb7 (diff)
downloadwayland-de31d5ca6f2650da3c4e8c45acdcee73ed655602.tar.gz
wayland-de31d5ca6f2650da3c4e8c45acdcee73ed655602.tar.xz
wayland-de31d5ca6f2650da3c4e8c45acdcee73ed655602.zip
Add preliminary visual support.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index 1af2aaa..bac9c5b 100644
--- a/wayland.h
+++ b/wayland.h
@@ -142,7 +142,8 @@ struct wl_surface_interface {
struct wl_surface *surface);
void (*attach)(struct wl_client *client,
struct wl_surface *surface, uint32_t name,
- uint32_t width, uint32_t height, uint32_t stride);
+ uint32_t width, uint32_t height, uint32_t stride,
+ struct wl_object *visual);
void (*map)(struct wl_client *client,
struct wl_surface *surface,
int32_t x, int32_t y, int32_t width, int32_t height);