mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-09 13:29:48 -05:00
Add function to remove surfaces from client
This commit is contained in:
parent
f15ce9f400
commit
b559fcbf72
2 changed files with 24 additions and 24 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue