diff options
author | emersion <contact@emersion.fr> | 2019-01-15 09:09:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-15 09:09:08 +0100 |
commit | dc9c91b0a4a973f100ead0c2b1dad9f0699a8a69 (patch) | |
tree | 38cc7d876636852c44fedb5d0c7f9e2831099d96 /rootston | |
parent | 10a2c4edec5e4f0877ff4afc83178c3f08b4f063 (diff) | |
parent | b1cdd2b4b3d5bb0eac47bd040df47717a66ee7d9 (diff) |
Merge pull request #1461 from c-edw/feature/WLRToplevelAndPopup
Remove wlr_xdg_surface_send_close.
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/xdg_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/xdg_shell.c b/rootston/xdg_shell.c index da8909ba..918f90ab 100644 --- a/rootston/xdg_shell.c +++ b/rootston/xdg_shell.c @@ -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) { |