wayland: destroy popup surfaces at correct time
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-09-11 13:10:40 -07:00 committed by Nishi
commit 892f9198ab

View file

@ -584,14 +584,13 @@ static void setup_popup(MwLL r, int x, int y, MwLL parent) {
/* Popup destroy function */
static void destroy_popup(MwLL r) {
MwLLWaylandBackbufferDestroy(&r->wayland);
MwLLWaylandFramebufferDestroy(&r->wayland);
xdg_surface_destroy(r->wayland.popup->xdg_surface);
xdg_popup_destroy(r->wayland.popup->xdg_popup);
xdg_surface_destroy(r->wayland.popup->xdg_surface);
xdg_positioner_destroy(r->wayland.popup->xdg_positioner);
wl_surface_destroy(r->wayland.framebuffer.surface);