From 7f5967234c1bcd4a93252d8606bf0f5a647c7dfa Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 5 Feb 2019 19:27:23 +0100 Subject: xdg-shell: destroy child popups on unmap It doesn't make sense to keep popups opened when unmapped. We also need to do so in wlr_xdg_popup_destroy so that popups are destroyed in the correct order. --- include/types/wlr_xdg_shell.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 08a691bd..93058530 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -33,7 +33,6 @@ void create_xdg_popup(struct wlr_xdg_surface *xdg_surface, void handle_xdg_surface_popup_committed(struct wlr_xdg_surface *surface); struct wlr_xdg_popup_grab *get_xdg_shell_popup_grab_from_seat( struct wlr_xdg_shell *shell, struct wlr_seat *seat); -void destroy_xdg_popup(struct wlr_xdg_surface *surface); void create_xdg_toplevel(struct wlr_xdg_surface *xdg_surface, uint32_t id); -- cgit v1.2.3