layer-shell: upgrade to v3, implement destructor

This commit is contained in:
Isaac Freund 2020-06-30 13:07:26 +02:00 committed by Simon Ser
parent d2ca220fda
commit 45c0877e34
2 changed files with 14 additions and 3 deletions

View file

@ -445,6 +445,7 @@ static void layer_shell_handle_get_layer_surface(struct wl_client *wl_client,
static const struct zwlr_layer_shell_v1_interface layer_shell_implementation = {
.get_layer_surface = layer_shell_handle_get_layer_surface,
.destroy = resource_handle_destroy,
};
static void layer_shell_bind(struct wl_client *wl_client, void *data,