aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-01-08 22:52:55 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-02-02 21:06:12 +0300
commitc35d14ecfaf785cbf557c6106372ea68e0b8011e (patch)
tree1992458f9cc86d6733fb1e99c97cbd851f0dcf87 /include
parente59aa3e0e7e142825fbd16887475285fafceb7ba (diff)
xdg-shell: extract role-specific unmap logic
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h
index 7613a15d..0c2b5cd5 100644
--- a/include/types/wlr_xdg_shell.h
+++ b/include/types/wlr_xdg_shell.h
@@ -30,17 +30,18 @@ struct wlr_xdg_positioner_resource *get_xdg_positioner_from_resource(
void create_xdg_popup(struct wlr_xdg_surface *surface,
struct wlr_xdg_surface *parent,
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);
+void unmap_xdg_toplevel(struct wlr_xdg_toplevel *toplevel);
void handle_xdg_toplevel_committed(struct wlr_xdg_toplevel *toplevel);
struct wlr_xdg_toplevel_configure *send_xdg_toplevel_configure(
struct wlr_xdg_toplevel *toplevel);
void handle_xdg_toplevel_ack_configure(struct wlr_xdg_toplevel *toplevel,
struct wlr_xdg_toplevel_configure *configure);
-void destroy_xdg_toplevel(struct wlr_xdg_toplevel *toplevel);
#endif