Add function to remove surfaces from client

This commit is contained in:
Kristian Høgsberg 2009-09-18 17:00:37 -04:00
parent f15ce9f400
commit b559fcbf72
2 changed files with 24 additions and 24 deletions

View file

@ -91,6 +91,7 @@ struct wl_compositor {
struct wl_surface {
struct wl_object base;
struct wl_client *client;
struct wl_list link;
};
struct wl_compositor_interface {
@ -138,6 +139,10 @@ wl_client_add_surface(struct wl_client *client,
const struct wl_surface_interface *implementation,
uint32_t id);
void
wl_client_remove_surface(struct wl_client *client,
struct wl_surface *surface);
void
wl_client_send_acknowledge(struct wl_client *client,
struct wl_compositor *compositor,