aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorConnor E <38229097+c-edw@users.noreply.github.com>2019-01-13 14:22:49 +0000
committerConnor E <38229097+c-edw@users.noreply.github.com>2019-01-13 14:22:49 +0000
commite7fff4f5607878a016c1514a3c75ec1e2d7c41ce (patch)
tree70400d393db4b1af6c4df06db8ab6c7594053994 /rootston
parent8134d5b1e0b8c65f7c8b2e7ae626c1f2e5cbc9e1 (diff)
Remove wlr_xdg_surface_send_close.
Diffstat (limited to 'rootston')
-rw-r--r--rootston/xdg_shell.c4
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) {