xdg-shell: use role object destroy handler

This commit is contained in:
Kirill Primak 2022-11-06 12:18:56 +03:00
parent 92fbfda2ca
commit acd5a64fd1
6 changed files with 20 additions and 25 deletions

View file

@ -17,6 +17,7 @@ void destroy_xdg_surface(struct wlr_xdg_surface *surface);
void xdg_surface_role_commit(struct wlr_surface *wlr_surface);
void xdg_surface_role_precommit(struct wlr_surface *wlr_surface,
const struct wlr_surface_state *state);
void xdg_surface_role_destroy(struct wlr_surface *wlr_surface);
void create_xdg_positioner(struct wlr_xdg_client *client, uint32_t id);

View file

@ -258,7 +258,6 @@ struct wlr_xdg_surface {
struct wlr_xdg_surface_state current, pending;
struct wl_listener surface_destroy;
struct wl_listener surface_commit;
struct {