mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Remove wlr_xdg_surface_send_close.
This commit is contained in:
parent
8134d5b1e0
commit
e7fff4f560
3 changed files with 20 additions and 19 deletions
|
|
@ -248,9 +248,9 @@ static void close(struct roots_view *view) {
|
|||
struct wlr_xdg_surface *surface = view->xdg_surface;
|
||||
struct wlr_xdg_popup *popup = NULL;
|
||||
wl_list_for_each(popup, &surface->popups, link) {
|
||||
wlr_xdg_surface_send_close(popup->base);
|
||||
wlr_xdg_popup_destroy(popup->base);
|
||||
}
|
||||
wlr_xdg_surface_send_close(surface);
|
||||
wlr_xdg_toplevel_send_close(surface);
|
||||
}
|
||||
|
||||
static void destroy(struct roots_view *view) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue