mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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.
This commit is contained in:
parent
b2f56ad4a8
commit
7f5967234c
3 changed files with 17 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue