summaryrefslogtreecommitdiffstats
path: root/wayland-client.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-09-18 09:49:21 -0400
committerKristian Høgsberg <krh@redhat.com>2009-09-18 17:05:50 -0400
commitecf65fe0411403d57d6d2418782bd741b6d9e034 (patch)
treefba5c99720e45c9d6701b69a9475209dbda52985 /wayland-client.h
parent59fa346ac9a5a3244af1aae0d13bd3d56f84c4b8 (diff)
downloadwayland-ecf65fe0411403d57d6d2418782bd741b6d9e034.tar.gz
wayland-ecf65fe0411403d57d6d2418782bd741b6d9e034.tar.xz
wayland-ecf65fe0411403d57d6d2418782bd741b6d9e034.zip
Implement user_data for surface
Not sure if we need more than one piece of user_data per surface. And this should be a general feature of any proxy object.
Diffstat (limited to 'wayland-client.h')
-rw-r--r--wayland-client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland-client.h b/wayland-client.h
index cb2bd29..13b4776 100644
--- a/wayland-client.h
+++ b/wayland-client.h
@@ -95,6 +95,9 @@ 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);
+void wl_surface_set_user_data(struct wl_surface *surface, void *user_data);
+void *wl_surface_get_user_data(struct wl_surface *surface);
+
struct wl_output;
struct wl_output_listener {
void (*geometry)(void *data,