mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xdg-shell: emit xdg_surface destroy when role object is destroyed
Fixes https://github.com/swaywm/wlroots/issues/1407
This commit is contained in:
parent
3efc6bc363
commit
5515faa197
4 changed files with 71 additions and 74 deletions
|
|
@ -18,6 +18,7 @@ struct wlr_xdg_surface *create_xdg_surface(
|
|||
struct wlr_xdg_client *client, struct wlr_surface *surface,
|
||||
uint32_t id);
|
||||
void unmap_xdg_surface(struct wlr_xdg_surface *surface);
|
||||
void reset_xdg_surface(struct wlr_xdg_surface *xdg_surface);
|
||||
void destroy_xdg_surface(struct wlr_xdg_surface *surface);
|
||||
void handle_xdg_surface_commit(struct wlr_surface *wlr_surface);
|
||||
void handle_xdg_surface_precommit(struct wlr_surface *wlr_surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue