From 38bb71638388ff321cb7bdaa950880aa1cde87a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 8 Jun 2010 15:33:55 -0400 Subject: [PATCH] Drop surface::copy --- compositor.c | 10 ---------- wayland-client.c | 9 --------- wayland-client.h | 3 --- wayland-protocol.c | 1 - wayland.h | 3 --- 5 files changed, 26 deletions(-) diff --git a/compositor.c b/compositor.c index 2a521ee..21e5ea0 100644 --- a/compositor.c +++ b/compositor.c @@ -703,15 +703,6 @@ surface_map(struct wl_client *client, } static void -surface_copy(struct wl_client *client, - 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) -{ -} - -static void surface_damage(struct wl_client *client, struct wl_surface *surface, int32_t x, int32_t y, int32_t width, int32_t height) @@ -723,7 +714,6 @@ const static struct wl_surface_interface surface_interface = { surface_destroy, surface_attach, surface_map, - surface_copy, surface_damage }; diff --git a/wayland-client.c b/wayland-client.c index 8cabbb2..912d682 100644 --- a/wayland-client.c +++ b/wayland-client.c @@ -584,15 +584,6 @@ wl_surface_map(struct wl_surface *surface, } WL_EXPORT 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) -{ - wl_proxy_marshal(&surface->proxy, WL_SURFACE_COPY, - dst_x, dst_y, name, stride, x, y, width, height); -} - -WL_EXPORT void wl_surface_damage(struct wl_surface *surface, int32_t x, int32_t y, int32_t width, int32_t height) { diff --git a/wayland-client.h b/wayland-client.h index 13b4776..186fcc6 100644 --- a/wayland-client.h +++ b/wayland-client.h @@ -89,9 +89,6 @@ void wl_surface_attach(struct wl_surface *surface, uint32_t name, struct wl_visual *visual); 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); diff --git a/wayland-protocol.c b/wayland-protocol.c index 464af2b..7d3b83a 100644 --- a/wayland-protocol.c +++ b/wayland-protocol.c @@ -61,7 +61,6 @@ static const struct wl_message surface_methods[] = { { "destroy", "" }, { "attach", "uuuuo" }, { "map", "iiii" }, - { "copy", "iiuuiiii" }, { "damage", "iiii" } }; diff --git a/wayland.h b/wayland.h index 293a1b5..434a46b 100644 --- a/wayland.h +++ b/wayland.h @@ -111,9 +111,6 @@ struct wl_surface_interface { void (*map)(struct wl_client *client, struct wl_surface *surface, int32_t x, int32_t y, int32_t width, int32_t height); - void (*copy)(struct wl_client *client, 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 (*damage)(struct wl_client *client, struct wl_surface *surface, int32_t x, int32_t y, int32_t width, int32_t height); }; -- 2.7.4