diff --git a/compositor.c b/compositor.c index 2a521ee9..21e5ea01 100644 --- a/compositor.c +++ b/compositor.c @@ -702,15 +702,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, @@ -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 8cabbb27..912d682c 100644 --- a/wayland-client.c +++ b/wayland-client.c @@ -583,15 +583,6 @@ wl_surface_map(struct wl_surface *surface, WL_SURFACE_MAP, x, y, width, height); } -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 13b4776d..186fcc62 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 464af2b8..7d3b83ae 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 293a1b52..434a46bd 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); };