From 88f30404386ce305b436b3877a56034eada3060f Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sat, 8 Jan 2022 22:52:56 +0300 Subject: xdg-popup: destroy popup-less grab This also fixes a seat destruction segfaulting if xdg-shell was destroyed first. --- include/types/wlr_xdg_shell.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 0c2b5cd5..c0f97798 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -32,8 +32,6 @@ void create_xdg_popup(struct wlr_xdg_surface *surface, struct wlr_xdg_positioner_resource *positioner, uint32_t id); void unmap_xdg_popup(struct wlr_xdg_popup *popup); void handle_xdg_popup_committed(struct wlr_xdg_popup *popup); -struct wlr_xdg_popup_grab *get_xdg_shell_popup_grab_from_seat( - struct wlr_xdg_shell *shell, struct wlr_seat *seat); void create_xdg_toplevel(struct wlr_xdg_surface *surface, uint32_t id); -- cgit v1.2.3